NAMED and DNS

Menù di navigazione
  • Home
  • Contacts
HOME | Index |

NAMED and DNS

When having problems with named (BIND9) and DNS in general, you can do the following.

First edit /etc/named.conf and insert the following lines:

logging {
category "default" { "debug"; };
channel "debug" {
file "/var/tmp/nameddbg" versions 2 size 50m;
print-time yes;
print-category yes;
};
};

This enables logging to the file /var/named/chroot/var/tmp/nameddbg

Then you can check out the file with a tail -f.

If needed you can use rndc to check out the server status:

/usr/sbin/rndc status

Will give you an output similar to:

number of zones: 338
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running

Where:

  • number of zones is the number of domains the server replies for
  • debug level is the current debug level (you can increase it with /usr/sbin/rndc trace
  • xfers running are zone's trasnfers currently running
  • xfers deferred are zone's transfers delayed
  • soa queries in progress are the number of start of authority queries currently in progress
  • query logging is the state of the query logging flag (change it via /usr/sbin/rndc querylog )
There is a good site where you can perform dns query.



Labs
  • CentOS + BlueQuartz
  • Installing Spamassassin ClamAv and Mailscanner on Bluequartz
  • SARE Rules & RulesDuJour
  • Installing MRTG
  • Mass Change IP
  • CCED problems
  • Deleting old logfiles
  • POP3 problems
  • Recalculate Quotas
  • How to block an IP address
  • NAMED and DNS
  • PHP
  • Enabling safe mode per-directory
  • Howto install php4 & php5 on Apache2
  • Linux
  • Automating Mysql backups
  • Restoring MySQL dumps
  • Replacing Text In Files
  • Firefox and flash on x86_64
  • Find user's files
  • Lines of code
  • Vsftp with virtual users
  • MSN
  • RandomCase

Home | Contacts | E.R.WEB Official Site