🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.networking
1 messages
1 total messages Started by Kenneth Mair Thu, 30 Apr 1998 00:00
problem with caching nameserver
#570
Author: Kenneth Mair
Date: Thu, 30 Apr 1998 00:00
84 lines
4337 bytes
I'm trying to set up a caching-only nameserver using bind-8 but I think
I've messed up the config somewhere as I get the following log entry
when I start named.

Apr 29 22:14:58 rathole1 named[719]: starting.  named 8.1.1 Sat Mar 28 18:39:50 GMT 1998 	root@rathole1:/home/kenny/bind/bin/bin/named
Apr 29 22:15:00 rathole1 named[719]: cache zone "" (IN) loaded (serial 0)
Apr 29 22:15:00 rathole1 named[719]: master zone "0.0.127.in-addr.arpa" (IN) loaded (serial 1)
Apr 29 22:15:00 rathole1 named[719]: listening [127.0.0.1].53 (lo)
Apr 29 22:15:00 rathole1 named[719]: listening [194.222.165.146].53 (ppp0)
Apr 29 22:15:00 rathole1 named[719]: Forwarding source address is [127.0.0.1].2034
Apr 29 22:15:00 rathole1 named[722]: Ready to answer queries.
Apr 29 22:15:00 rathole1 named[722]: No root nameservers for class IN
Apr 29 22:15:00 rathole1 named[722]: sysquery: findns error (SERVFAIL) on ?

My config files are as follows:

/etc/named.conf

options {
	directory "/var/named";

};

zone "." {
	type hint;
	file "root.hints";
};

zone "0.0.127.in-addr.arpa" {
	type master;
	file "pz/127.0.0";
};

/var/named/root.hints

\&.                       6D IN NS        G.ROOT-SERVERS.NET.
\&.                       6D IN NS        J.ROOT-SERVERS.NET.
\&.                       6D IN NS        K.ROOT-SERVERS.NET.
\&.                       6D IN NS        L.ROOT-SERVERS.NET.
\&.                       6D IN NS        M.ROOT-SERVERS.NET.
\&.                       6D IN NS        A.ROOT-SERVERS.NET.
\&.                       6D IN NS        H.ROOT-SERVERS.NET.
\&.                       6D IN NS        B.ROOT-SERVERS.NET.
\&.                       6D IN NS        C.ROOT-SERVERS.NET.
\&.                       6D IN NS        D.ROOT-SERVERS.NET.
\&.                       6D IN NS        E.ROOT-SERVERS.NET.
\&.                       6D IN NS        I.ROOT-SERVERS.NET.
\&.                       6D IN NS        F.ROOT-SERVERS.NET.

G.ROOT-SERVERS.NET.     5w6d16h IN A    192.112.36.4
J.ROOT-SERVERS.NET.     5w6d16h IN A    198.41.0.10
K.ROOT-SERVERS.NET.     5w6d16h IN A    193.0.14.129
L.ROOT-SERVERS.NET.     5w6d16h IN A    198.32.64.12
M.ROOT-SERVERS.NET.     5w6d16h IN A    202.12.27.33
A.ROOT-SERVERS.NET.     5w6d16h IN A    198.41.0.4
H.ROOT-SERVERS.NET.     5w6d16h IN A    128.63.2.53
B.ROOT-SERVERS.NET.     5w6d16h IN A    128.9.0.107
C.ROOT-SERVERS.NET.     5w6d16h IN A    192.33.4.12
D.ROOT-SERVERS.NET.     5w6d16h IN A    128.8.10.90
E.ROOT-SERVERS.NET.     5w6d16h IN A    192.203.230.10
I.ROOT-SERVERS.NET.     5w6d16h IN A    192.36.148.17
F.ROOT-SERVERS.NET.     5w6d16h IN A    192.5.5.241


/var/named/pz/127.0.0

@               IN      SOA     ns.linux.bogus. hostmaster.linux.bogus. (
                                1       ; Serial
                                8H      ; Refresh
                                2H      ; Retry
                                1W      ; Expire
                                1D)     ; Minimum TTL
                        NS      ns.linux.bogus.
1                       PTR     localhost.

All this is lifted straight out of the DNS howto. What am I doing wrong?
I suspect that it's something silly but I'm just not seeing it :-(

-- 
 #_#   -------------------------------------------------
<@ @>  Kenneth Mair <kenny@rathole1.demon.co.uk>        
 \ /   -------------------------------------------------
 -*-   'Do what thou wilt shall be the whole of the Law'
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads