DNS Question

Answered Question
Nov 29th, 2007
User Badges:
  • Blue, 1500 points or more

Whats the purpose of configuring the "IP name server" command and then disabling DNS with the "no ip domain lookup" command?


Am I right to say that if the "no ip domain lookup" command is there that DNS is off?


Im asking because I want to reference host names for the SNMP, tacacs and logging host commands....


example:


tacacs host host1.whatever.whatever2



Correct Answer by Collin Clark about 9 years 6 months ago

ip name server tells the router what DNS server to use if DNS is enabled. You are correct that no ip domain lookup turns off name resolution on the router. If you want to use names you can either use DNS or us the ip host command.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
lamav Fri, 11/30/2007 - 06:32
User Badges:
  • Blue, 1500 points or more

anyone?

Correct Answer
Collin Clark Fri, 11/30/2007 - 06:59
User Badges:
  • Purple, 4500 points or more

ip name server tells the router what DNS server to use if DNS is enabled. You are correct that no ip domain lookup turns off name resolution on the router. If you want to use names you can either use DNS or us the ip host command.

lamav Fri, 11/30/2007 - 20:49
User Badges:
  • Blue, 1500 points or more

hey, thanks for that sanity check.


Victor

Actions

This Discussion