Archive for August, 2010
Just a little tip, if your looking for bind stats and your chrooted
rndc stats
will give you
rndc: 'stats' failed: permission denied
All you have to do is
touch /var/named/chroot/var/named/named.stats chown named:named /var/named/chroot/var/named/named.stats
Now after you run rndc stats your named.stats fill will be populated with information.
Had a slightly vexing issue the other day. During a migration the destination host ended up caching some stale DNS entries. I tried a quick restart of nscd to no avail, rebooted the VM, again no joy. Even overriding the host in /etc/hosts wasn’t working. Took a few minutes of digging but what did work was
nscd -i hosts
. Just something to remember if you ever seem to have a stubborn caching issue, rebooting/restarting wont always solve the issue.
Also happy late sysadmin day! Unfortunately I missed the festivities being stuck in the hospital. Oh well, there is always next year.
Identica
Twitter
LinkedIn