dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
501

DarkLogix
Texan and Proud
Premium Member
join:2008-10-23
Baytown, TX

DarkLogix

Premium Member

[Config] IPV6 DHCP DNS list

I 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?
markysharkey
Premium Member
join:2012-12-20
united kingd

1 recommendation

markysharkey

Premium Member

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.

DarkLogix
Texan and Proud
Premium Member
join:2008-10-23
Baytown, TX

1 recommendation

DarkLogix

Premium Member

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)
HELLFIRE
MVM
join:2009-11-25

1 recommendation

HELLFIRE to DarkLogix

MVM

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

DarkLogix
Texan and Proud
Premium Member
join:2008-10-23
Baytown, TX

1 recommendation

DarkLogix

Premium Member

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.
HELLFIRE
MVM
join:2009-11-25

HELLFIRE to DarkLogix

MVM

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

DarkLogix
Texan and Proud
Premium Member
join:2008-10-23
Baytown, TX

DarkLogix

Premium Member

it was a 3560G-poe running 12.2(55)SE6
HELLFIRE
MVM
join:2009-11-25

HELLFIRE to DarkLogix

MVM

to DarkLogix
Thanks for clarifying, will dig around and see if I can find anything.

Regards
shadedmagus
join:2014-09-05
Tempe, AZ

shadedmagus

Member

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.

DarkLogix
Texan and Proud
Premium Member
join:2008-10-23
Baytown, TX

DarkLogix

Premium Member

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.
HELLFIRE
MVM
join:2009-11-25

HELLFIRE to DarkLogix

MVM

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 See Profile

Regards

DarkLogix
Texan and Proud
Premium Member
join:2008-10-23
Baytown, TX

DarkLogix

Premium Member

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.)