I had to make some other changes, but I got it working. For anyone else who needs help, here are my config files:
named.conf
Code:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
include "/etc/bind/named.conf.local";
named.conf.local
Code:
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "jealwh.local" {
type master;
file "/etc/bind/zones/jealwh.local.db";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.1.168.192.in-addr.arpa";
};
named.conf.options
Code:
options {
directory "/var/cache/bind";
version "get lost";
allow-transfer {"none";};
allow-recursion {192.168.1.0/24;};
#logging{
# channel example_log{
# file "/var/log/bind.log" versions 3 size 2m;
# severity info;
# print-severity yes;
# print-time yes;
# print-category yes;
# };
# category default{
# example_log;
# };
#};
forwarders {
208.67.222.222;
208.67.220.220;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
Logging is disabled right now since there is something about it that BIND 9 does not like, but I'll fix that later.
An example zone file:
Code:
@ IN SOA cyan.jealwh.local. none.jealwh.local. (
2006081401
28800
3600
604800
38400
)
$TTL 1d;
IN NS cyan.jealwh.local.
cyan IN A 192.168.1.150