For some weird reason my DNS (not on qmail) is not forwarding requests for
zones that aren't in it's zone files (like google.com). If I 'dig' one of
my zones, I get all the correct information. If I 'dig' something like
www.google.com I get nothing. Here are the two files that I think control
this:
# cat resolv.conf
search renshawauto.org
nameserver 66.255.244.213
nameserver 127.0.0.1
NOTE: Both of these IPs are the same interface. I used to just have the
127.0.0.1 and nothing else, so I tried the live IP to see if that would help
# cat named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 127.0.0.1; };
listen-on port 53 { 66.255.244.213; };
# listen-on-v6 port 53 { ::1; };
allow-query { 127.0.0.1; 66.255.244.213; };
allow-recursion { 127.0.0.1; 66.255.244.213; };
directory "/var/named/chroot/var/named";
forward first;
forwarders { 8.8.8.8; 8.8.4.4; };
dump-file "/var/named/chroot/var/named/data/cache_dump.db";
statistics-file "/var/named/chroot/var/named/data/named_stats.txt";
memstatistics-file
"/var/named/chroot/var/named/data/named_mem_stats.txt";
// allow-query { 127.0.0.1; 66.255.244.213; localhost; };
recursion no;
transfers-out 100;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "/var/named/chroot/var/named/named.root";
};
include "/var/named/chroot/etc/named.conf.local";
Any ideas? I've been searching on Google for HOURS on this one. I even
replaced my named.root file with the latest from Internic, No Joy! If I put
an outside DNS server into the resolv.conf then it will work probably, but
the forwarders in the named.conf should do this!
Thanks,
Scott