Problem
The named daemon needs to be started with debug to troubleshoot a DNS problem.
The man page for named(ADMN) states that named can be started
with "-d <debug_level>". However, this seems to hang indefinitely.
The shell prompt is not returned although a "ps -ef| grep named"
listing shows named has started.If the following line in /etc/tcp is edited to start named with a debug level of 9:
/etc/named -d 9 ; echo "named \c"the tcp script will hang while starting named, and the tcp script will not complete.
Cause
If it is started with the debug option enabled, the named daemon must be run in the background.
Solution
To start named from a shell prompt, type:
/etc/named -d <debug_level> &Or, to start named with a debug level, make the following modifications to these lines in the /etc/tcp script:
if [ -x /etc/named -a -f /etc/named.boot ]; then
/etc/named -d 9 &
echo "named \c"
fi