Difference between revisions of "Redhat DNS debug"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== BIND Troubleshooting Commands == There are four commands used with BIND: named, rndc, dig and host === named === named is used to start, stop and reset the DNS server ...")
 
 
Line 3: Line 3:
 
There are four commands used with BIND: named, rndc, dig and host
 
There are four commands used with BIND: named, rndc, dig and host
  
=== named ===
+
== named ==
  
  

Latest revision as of 13:42, 28 August 2013

BIND Troubleshooting Commands

There are four commands used with BIND: named, rndc, dig and host

named

named is used to start, stop and reset the DNS server using the daemon in /usr/sbin. This is controlled by the script in /etc/init.d/.

Dig and Host

Dig and Host are successors to nslookup.

dig is used to check that a request is handled. Passing it an address dig will return its IP.

rndc

Running rndc on its own lists all of the options that can be used.

  • status - shows the status if the DNS server
  • flush - flushes the previous config and cache
  • reload - restarts the DNS with the new config
  • stop / start - stops and starts the DNS