• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

Do I need an entry in my router listing the ip name-server?

I have three offices connected by T1's on a Sprint MPLS WAN. Internet access is provided to all offices through a seperate T1 in my main office. Two of the routers have three entries in the configs:

ip domain-name xxx.net
ip name-server xxx.xxx.xxx.xxx
ip name-server xxx.xxx.xxx.xxx

One of those routers is at our main office the other is at a satellite office. Are these entries necessary? I am changing ISP's and would need to change these if they are needed.
1 Solution
Not really.

Only reason for an ip name-server x.x.x.x is if you are using dns names in your routes or other places in your config. If the routers don't need to do name translation, they don't need a dns server.

Well, that and the whole pain-in-the-butt typo on the command line issue. use the "no ip name-lookup" command to stop the insanity, if you don't need any dns. It won't even try to do a lookup.

Some people's preference is to use them. I'm with you, if you don't need them, it's another thing to change and have wrong if you forget that you don't need.


Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now