From: King, Michael (MKing@bridgew.edu)
Date: Fri Jan 30 2004 - 18:09:35 CST
I'm building a new machine, and I want to use views with Bind 9.
Basically, anyone the queries it, I want to get a Real name.
Anyone from the 192.168.144.0/24 subnet (The PenaltyBox) that queries
it, I want to get referred back to the server.
I thought I had it all figured out, but whenever I try to paste one of
the NetReg specific db.root files into it,
I get this from the syslog:
Jan 30 19:07:33 resnet1 named[10441]: loading configuration from
'/etc/named.conf'
Jan 30 19:07:33 resnet1 named[10441]: no IPv6 interfaces found
Jan 30 19:07:33 resnet1 named[10441]: PenaltyBox/db.root:1: no TTL
specified; using SOA MINTTL instead
Jan 30 19:07:33 resnet1 named[10441]: extra data in root hints
'PenaltyBox/db.root'
Here is my PenaltyBox/db.root file:
. IN SOA resnet1.reshall.bridgew.edu.
mking.resnet1.reshall.bridgew.edu. (
1 10800 3600 604800 86400 )
IN NS resnet1.reshall.bridgew.edu.
windowsupdate.com. IN NS example.com.
windowsupdate.com.bridgew.edu. IN NS example.com.
windowsupdate.microsoft.com. IN NS example.com.
example.com. IN A 127.0.0.1
resnet1 IN A 207.206.230.1
resnet1.reshall.bridgew.edu. IN A 207.206.230.1
*. IN A 207.206.230.1
I can't for the life of me figure out what's wrong.
For completeness, I'm posting my named.conf, althought I don't believe
this is where the problem exists.
// reduce log verbosity on issues outside our control
logging {
category lame-servers { null; };
};
key "rndc-key" {
algorithm hmac-md5;
secret "NotMyRealKey";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
options {
directory "/etc/namedb";
pid-file "/var/run/named.pid";
statistics-file "/var/run/named.stats";
};
view "PenaltyBox" {
match-clients {
192.168.144.0/24;
};
zone "." {
type hint;
file "PenaltyBox/db.root";
};
};
view "Normal" {
zone "." {
type hint;
file "/etc/namedb/db.root";
};
};
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************
This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:43 CDT