Redhat DNS debug

From Define Wiki
Revision as of 13:42, 28 August 2013 by Michael (talk | contribs) (→‎BIND Troubleshooting Commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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