🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.networking
Article #570

problem with caching nameserver

#570
From: 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'
Technical Details
Message-ID: <m2k9878r5s.fsf@rathole1.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fac57,6c6db059bf11878a,start
X-Google-Attributes: gidfac57,public
X-Google-Thread: 108f6a,6c6db059bf11878a,start
X-Google-Attributes: gid108f6a,public
X-Google-Thread: 10669a,6c6db059bf11878a,start
X-Google-Attributes: gid10669a,public
From: Kenneth Mair <kenny@rathole1.demon.co.uk>
Subject: problem with caching nameserver
Date: 1998/04/30
Message-ID: <m2k9878r5s.fsf@rathole1.demon.co.uk>
X-Deja-AN: 349108005
X-NNTP-Posting-Host: rathole1.demon.co.uk:194.222.165.146
Followup-To: comp.os.linux.networking
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 893956485 nnrp-11:29980 NO-IDENT rathole1.demon.co.uk:194.222.165.146
Organization: None whatsoever
Newsgroups: comp.os.linux.networking,demon.tech.unix,demon.ip.support.unix