I am running slack 10 with 2.6.9 kernel. I am following this guide to get bind running for a caching dns server.
http://www.tldp.org/HOWTO/DNS-HOWTO-3.html
i created all the files like it says, changing a lot since slack10 has it's stuff in /var/named/caching-example and I created the stuff as the tutorial says, verbatim. It doesn't seem like my box is listening on port 53. I made /etc/rc.d/rc.bind executable and it says it's starting it. here's what my log says:
Quote:
Feb 25 18:13:51 gsgleason named[2830]: starting BIND 9.2.3
Feb 25 18:13:51 gsgleason named[2830]: using 1 CPU
Feb 25 18:13:51 gsgleason named[2830]: loading configuration from '/etc/named.conf'
Feb 25 18:13:51 gsgleason named[2830]: listening on IPv4 interface lo, 127.0.0.1#53
Feb 25 18:13:51 gsgleason named[2830]: listening on IPv4 interface eth0, 10.10.10.6#53
|
however,
Quote:
root@gsgleason:/var/log# telnet localhost 53
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
|
this tells me that it's not listening on port 53. also, as the tutorial says to test:
Quote:
root@gsgleason:/var/log# dig -x 127.0.0.1
; <<>> DiG 9.2.3 <<>> -x 127.0.0.1
;; global options: printcmd
;; connection timed out; no servers could be reached
|
also, my /etc/rc.d/rc.inet2 just had this:
Quote:
# Start the BIND name server daemon:
if [ -x /etc/rc.d/rc.bind ]; then
/etc/rc.d/rc.bind start
fi
|
and I added this per some slack doc I found. which is correct, and which should I have?
Quote:
# Start the NAMED/BIND name server:
if [ -f ${NET}/named ]; then
echo -n " named"
${NET}/named -u daemon -g daemon
fi
|
HELP!!!
here are my runnng processes, supposedly after bind is running. I'm not seeing bind here...
Quote:
root@gsgleason:/var/log# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 18:08 ? 00:00:00 init [3]
root 2 1 0 18:08 ? 00:00:00 [ksoftirqd/0]
root 3 1 0 18:08 ? 00:00:00 [events/0]
root 4 3 0 18:08 ? 00:00:00 [khelper]
root 5 3 0 18:08 ? 00:00:00 [kblockd/0]
root 27 3 0 18:08 ? 00:00:00 [pdflush]
root 28 3 0 18:08 ? 00:00:00 [pdflush]
root 30 3 0 18:08 ? 00:00:00 [aio/0]
root 29 1 0 18:08 ? 00:00:00 [kswapd0]
root 615 1 0 18:08 ? 00:00:00 [kseriod]
root 816 1 0 18:08 ? 00:00:00 udevd
root 1933 1 0 18:08 ? 00:00:00 /usr/sbin/syslogd
root 1936 1 0 18:08 ? 00:00:00 /usr/sbin/klogd -c 3 -x
root 2436 1 0 18:08 ? 00:00:00 [khubd]
root 2461 1 0 18:08 ? 00:00:00 /usr/sbin/inetd
root 2464 1 0 18:08 ? 00:00:00 /usr/sbin/sshd
root 2679 1 0 18:08 ? 00:00:00 /usr/sbin/crond -l10
daemon 2681 1 0 18:08 ? 00:00:00 /usr/sbin/atd -b 15 -l 1
root 2684 1 0 18:08 ? 00:00:00 sendmail: accepting connections
smmsp 2687 1 0 18:08 ? 00:00:00 sendmail: Queue runner@00:25:00
root 2699 1 0 18:08 ? 00:00:00 /usr/sbin/httpd
root 2701 1 0 18:08 ? 00:00:00 /usr/sbin/gpm -m /dev/mouse -t p
root 2703 1 0 18:08 tty1 00:00:00 /sbin/agetty 38400 tty1 linux
root 2704 1 0 18:08 tty2 00:00:00 /sbin/agetty 38400 tty2 linux
root 2705 1 0 18:08 tty3 00:00:00 /sbin/agetty 38400 tty3 linux
root 2706 1 0 18:08 tty4 00:00:00 /sbin/agetty 38400 tty4 linux
root 2707 1 0 18:08 tty5 00:00:00 /sbin/agetty 38400 tty5 linux
root 2708 1 0 18:08 tty6 00:00:00 /sbin/agetty 38400 tty6 linux
nobody 2789 2699 0 18:09 ? 00:00:00 /usr/sbin/httpd
nobody 2790 2699 0 18:09 ? 00:00:00 /usr/sbin/httpd
nobody 2791 2699 0 18:09 ? 00:00:00 /usr/sbin/httpd
nobody 2792 2699 0 18:09 ? 00:00:00 /usr/sbin/httpd
nobody 2793 2699 0 18:09 ? 00:00:00 /usr/sbin/httpd
root 2796 2464 0 18:10 ? 00:00:00 sshd: root@pts/0
root 2798 2796 0 18:10 pts/0 00:00:00 -bash
root 2824 1 0 18:13 ? 00:00:00 /usr/sbin/inetd
root 2844 2798 0 18:20 pts/0 00:00:00 ps -ef
|