no-cache dns server error

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....


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-22-2004
Tom Ral
 
Posts: n/a
Default no-cache dns server error

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0