This is a discussion on no-cache dns server error within the Bind Users forums, part of the DNS and Related Forums category; I am running into some problems trying to setup a chrooted, authoritative-only, no-caching DNS server using bind-9....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am running into some problems trying to setup a chrooted,
authoritative-only, no-caching DNS server using bind-9.2.3. I keep getting message "server can't find <server_name>: REFUSED" when I tried nslookup. localhost resolves fine, however. I hope someone out here would know what I am missing in my DNS configuration. The configuration files for my dns server are as follows: === named.conf options { directory "/var/bind"; pid-file "/var/run/named.pid"; version "[SECURED]"; allow-transfer { none; }; notify no; auth-nxdomain yes; # Disable cache recursion no; additional-from-auth no; additional-from-cache no; }; zone "localhost" { type master; file "localhost"; }; zone "0.0.127.in-addr.arpa" in { type master; file "127.0.0"; }; zone "lecomp" { type master; file "lecomp"; }; zone "100.168.192.in-appr-arpa" { type master; file "192.168.100"; }; == /var/bind/localhost $TTL 1D @ IN SOA @ root ( 2004070101 ; Serial 2D ; Refresh 4H ; Retry 6W ; Expiry 1D) ; TTL IN NS @ IN A 127.0.0.1 ===/var/bind/127.0.0 $TTL 3D @ IN SOA localhost. admin.lecomp.com. ( 2004070102 ; Serial 2D ; Refresh 4H ; Retry 6W ; Expiry 3D) ; Minimum TTL IN NS localhost. 1 IN PTR localhost. === /var/bind/lecomp: $TTL 3D @ IN SOA localhost. admin.lecomp.com. ( 2004070103 ; Serial 4H ; Refresh 4H ; Retry 6W ; Expiry 3D) ; Minimun TTL IN NS localhost. IN MX 10 mail.lecomp.com. localhost A 127.0.0.1 mail A 192.168.100.23 lecomp.com. A 192.168.100.54 www CNAME lecomp.com. ========/var/bind/192.168.100: $TTL 3D @ IN SOA localhost. admin.lecomp.com. ( 2004070104 ; Serial 4H ; Refresh 4H ; Retry 6W ; Expiry 3D) ; Minimum TTL NS localhost. 23 IN PTR mail 54 IN PTR lecomp.com. == /etc/resolv.conf nameserver 127.0.0.1 search lecomp.com =========== TIA, Tom |