Difference between revisions of "Cisco DNS configuration"

From Ever changing code
Jump to navigation Jump to search
 
Line 1: Line 1:
= Check current DNS servers =
= Check current DNS servers =


To list the current status of what DNS servers are used by the router we can use <code>show ip dns view</code> command. Please see below that ''Domain name-servers:'' section has been populated automatically by ISP (BTBusiness ADSL) where IP is statis but dns servers were requested by <cede>ppp ipcp dns request</code> command within <code>interface Dialer0</code> section. Also the router acts as DNS server having <code>ip dns server</code> statement within its config.
To list the current list of DNS servers used by the router issue <tt>'''show ip dns view'''</tt> command. Please see below that ''Domain name-servers:'' section has been populated automatically by ISP (BTBusiness ADSL). Public IP is static but dns servers have been requested by <tt>'''ppp ipcp dns request'''</tt> command within <tt>'''interface Dialer0'''</tt> section. Also the router acts as DNS server having <tt>'''ip dns server'''</tt> statement within its config.


  '''show ip dns view'''
  '''show ip dns view'''
Line 12: Line 12:
   Lookup timeout: 3 seconds
   Lookup timeout: 3 seconds
   Lookup retries: 2
   Lookup retries: 2
   Domain name-servers:
   <span style="color: green">Domain name-servers:</span>
     194.72.0.98
     194.72.0.98
     194.74.65.68
     194.74.65.68

Latest revision as of 20:25, 30 April 2014

Check current DNS servers

To list the current list of DNS servers used by the router issue show ip dns view command. Please see below that Domain name-servers: section has been populated automatically by ISP (BTBusiness ADSL). Public IP is static but dns servers have been requested by ppp ipcp dns request command within interface Dialer0 section. Also the router acts as DNS server having ip dns server statement within its config.

show ip dns view
DNS View default parameters:
Logging is off
DNS Resolver settings:
  Domain lookup is enabled
  Default domain name: aaa.geteway
  Domain search list:
  Lookup timeout: 3 seconds
  Lookup retries: 2
  Domain name-servers:
    194.72.0.98
    194.74.65.68
    62.6.40.178
    194.72.9.34
    194.74.65.69
    194.72.0.114
DNS Server settings:
  Forwarding of queries is enabled
  Forwarder timeout: 3 seconds
  Forwarder retries: 2
  Forwarder addresses: