Linux Quick Fix Notebook by Peter Harrison
Author:Peter Harrison
Language: eng
Format: mobi
Publisher: UNKNOWN
Published: 2018-06-16T23:00:00+00:00
TROUBLESHOOTING BIND
One of the most common culprits of BIND problems is incorrectly located chroot files. If you have the BIND chroot package installed, make sure the configuration files are located in the chroot directory.
Here’s a quick list of symptoms that indicate your files may not be located correctly.
☞ The named daemon starts without loading any zone files. Here is a sample of the /var/log/messages file that shows that named doesn’t load them:.
Nov 9 17:35:41 bigboy named[1157]: starting BIND 9.2.3 -u named -t /var/named/chroot
Nov 9 17:35:41 bigboy named[1157]: using 1 CPU
Nov 9 17:35:41 bigboy named[1157]: loading configuration from ‘/etc/named.conf’
Nov 9 17:35:41 bigboy named[1157]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 9 17:35:41 bigboy named[1157]: listening on IPv4 interface eth0, 10.41.32.71#53
Nov 9 17:35:41 bigboy named[1157]: command channel listening on 127.0.0.1#953
Nov 9 17:35:41 bigboy named[1157]: command channel listening on ::1#953
Nov 9 17:35:41 bigboy named[1157]: running
☞ Restarting named gives rndc “connect failed” messages:
[root@bigboy tmp]# service named restart
Stopping named: rndc: connect failed: connection refused [ OK ]
Starting named: [ OK ]
[root@bigboy tmp]#
☞ The chroot files are empty:
[root@bigboy tmp]# cat /var/named/chroot/etc/named.conf
[root@bigboy tmp]# cat /var/named/chroot/etc/rndc.key
[root@bigboy tmp]#
To correctly relocate the files:
1. Copy the /etc/rndc.* and /etc/named.conf files to the /var/named/chroot/etc/ directory:
[root@bigboy tmp]# cp -f /etc/rndc.* /var/named/chroot/etc/ [root@bigboy tmp]# cp /etc/named.conf /var/named/chroot/etc/
2. Restart named twice; it should shutdown correctly without error the second time.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7767)
Filmora Efficient Editing by Alexander Zacharias(5791)
The Infinite Retina by Robert Scoble Irena Cronin(5272)
Learn Wireshark - Fundamentals of Wireshark. by Lisa Bock(3983)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3935)
Edit Like a Pro with iMovie by Regit(3433)
Linux Administration Best Practices by Scott Alan Miller(2858)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic & Jasmin Redzepagic(2836)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2522)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(2405)
Docker on Windows by Stoneman Elton(2319)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2315)
Creative Projects for Rust Programmers by Carlo Milanesi(2255)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(2109)
Hands-On Linux for Architects by Denis Salamanca(2053)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(2005)
Computers For Seniors For Dummies by Nancy C. Muir(2003)
The Old New Thing by Raymond Chen(1941)
Linux Kernel Debugging by Kaiwan N Billimoria(1762)
