DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX |
DarkLogix
Premium Member
2015-Mar-15 12:31 am
[Config] IPV6 DHCP DNS listI can't seem to find the syntax for making a list for DNS servers
I'm using IPV6 only to add the DNS server address (IE not for the IP config) and with the DNS-server command I've tried "dns-server DNS1 DNS2" "dns-server DNS1, DNS2" so is it possible to make a list there? and if not then whats is the intention for doing multiple DNS servers? |
|
1 recommendation |
I don't have a router near me that's switched on right now so I can't test, but most IPv6 commands start with ipv6, so try ipv6 dns-server x:x:x:x:x:x And yes just add the addresses you need to add. No need for comma separation or anything, just leave a space between them. |
|
|
DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX
1 recommendation |
DarkLogix
Premium Member
2015-Mar-15 11:16 am
well I have it working with one address and I already tried a space delimited list and it rejected the command
Last night when I tried it my first try was just doing the command again with the 2nd server's address, but when I did show run it replaced it, then I tried space delimited, then comma delimited, and nether worked.
now oddly I just connected to my switch and it has both entries. just messed with it some more and seems the syntax is
ipv6 dhcp pool %poolname% dns-server ipv6-address of primary dns-server ipv6-address of secondary
(where %poolname% = the name of the DHCP pool) |
|
1 recommendation |
to DarkLogix
....was going to ask what platform and what version of IOS were you running? I'd think it's no different for IPv6 than it is for IPv4, but I could be wrong.
Regards |
|
DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX
1 recommendation |
DarkLogix
Premium Member
2015-Mar-15 11:50 pm
well its only doing DNS not ip config, so the "pool" doesn't have a range of IP's or such it just has DNS servers listed. |
|
|
to DarkLogix
...again though, what platform and what version of IOS?
I was just looking over the ISR / IOS config guide for some hints, but obviously if this isn't an ISR platform, it's kinda pointless...
Regards |
|
DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX |
it was a 3560G-poe running 12.2(55)SE6 |
|
|
to DarkLogix
Thanks for clarifying, will dig around and see if I can find anything.
Regards |
|
|
According to the research I've done for implementing my own IPv6 router configuration, the "dns-server" statement in the DHCP pool config should work for either IPv4 or IPv6 addresses.
However, since I'm not planning on having multiple DNS entries per DHCP pool, I never looked into how that would be done...sorry. |
|
DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX |
said by shadedmagus:According to the research I've done for implementing my own IPv6 router configuration, the "dns-server" statement in the DHCP pool config should work for either IPv4 or IPv6 addresses.
However, since I'm not planning on having multiple DNS entries per DHCP pool, I never looked into how that would be done...sorry. WHAT? you don't plan to have redundant DNS servers? anyway as stated I solved it. the problem wasn't having one it was the syntax for the 2nd one. |
|
|
to DarkLogix
said by DarkLogix:anyway as stated I solved it. Presume this is it? said by DarkLogix:ipv6 dhcp pool %poolname% dns-server ipv6-address of primary dns-server ipv6-address of secondary That seems to be what I found across the platforms. Glad you got it figured out DarkLogix Regards |
|
DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX |
Ya I think that was it.
As I run my home network somewhat like a production network I felt a 2nd DNS server should be added.
Though I also plan to look into ipv6 anycast for DNS, then do 3 DNS entries, Any cast, 2nd, 3rd (where the 2nd and 3rd are the direct IP's.) |
|