cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
526
Views
0
Helpful
1
Replies

Second DNS in DHCP Config

dknechtenhofer
Level 1
Level 1

Hallo,

is there a possibility to set a second DNS-Server in the IOS DHCP Configuration ?

ip dhcp pool Pool_XY

network 10.32.4.128 255.255.255.128

dns-server 10.251.1.6

default-router 10.32.4.129

lease 3

Thanks

David

1 Accepted Solution

Accepted Solutions

seilsz
Level 4
Level 4

Yep. You can configure up to eight (double check the command ref for the limit). Just keep adding them on the same line. Ex:

ip dhcp pool Pool_XY

network 10.32.4.128 255.255.255.128

-->dns-server 10.251.1.6 2.2.2.2 3.3.3.3

default-router 10.32.4.129

lease 3

~Zach

View solution in original post

1 Reply 1

seilsz
Level 4
Level 4

Yep. You can configure up to eight (double check the command ref for the limit). Just keep adding them on the same line. Ex:

ip dhcp pool Pool_XY

network 10.32.4.128 255.255.255.128

-->dns-server 10.251.1.6 2.2.2.2 3.3.3.3

default-router 10.32.4.129

lease 3

~Zach