Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ip name-server versus dns-server

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

Re: ip name-server versus dns-server

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?

3 REPLIES

Re: ip name-server versus dns-server

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?

New Member

Re: ip name-server versus dns-server

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

Triet

Re: ip name-server versus dns-server

Triet, sure no problem - glad to help.

4008
Views
0
Helpful
3
Replies