cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
21447
Views
10
Helpful
3
Replies

ip name-server versus dns-server

trietgiang
Level 1
Level 1

Hi everyone,

Could someone please tell me the difference between the two commands?

ip name-server <IP address>

and (in DHCP pool setup)

dns-server <IP address>

I don't understand whether I need both of them or which one does what.

Thank you,

Triet

1 Accepted Solution

Accepted Solutions

andrew.prince
Level 10
Level 10

Triet,

The ip name-server x.x.x.x is for the "router" to use to reslove DNS queries.

In the DHCP Pool, the dns-server x.x.x.x is for the DHCP client to use for DNS queries.

What are you trying to do?

View solution in original post

3 Replies 3

andrew.prince
Level 10
Level 10

Triet,

The ip name-server x.x.x.x is for the "router" to use to reslove DNS queries.

In the DHCP Pool, the dns-server x.x.x.x is for the DHCP client to use for DNS queries.

What are you trying to do?

Thanks Andrew, I need it for the DHCP clients. So the dns-server is the right one.

Triet

Triet, sure no problem - glad to help.