nslookup ** server can't find homelan.home: SERVFAIL
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
nslookup ** server can't find homelan.home: SERVFAIL
I have setup a network at home and given it a domain name of "homelan.home". The network consists of 2 windows xp machines and a fedora core 3 server running bind and httpd.
When I run an nslookup for the domain homelan.home or for that matter whenever I run just nslookup from a windows machine I receive this message:
I have also setup 2 virtaul servers in apache that I still cant get to work either. At this point I am still blaming bind.
Does anyone know what I am doing wrong? I have been through at least 10 bind setup tutorials and I still cant seem to get it working propery.
Thanks in advance.
I have setup the named.conf file as follows:
Code:
//
// named.conf
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
// multiple-cnames 1;
auth-nxdomain no;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "homelan.home" IN {
type master;
allow-query { any; }; //192.168.1.0/24; };
allow-update { none; };
file "homelan.home.db";
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "homelan.home.rr.zone";
allow-update { none; };
};
include "/etc/rndc.key";
the homelan.home.db file is as follows:
Code:
$ORIGIN .
$TTL 1H
homelan.home. SOA fedora3.homelan.home. root.homelan.home. (
1
3H
1H
1W
1H
)
IN A 192.168.1.254
$ORIGIN homelan.home.
localhost IN A 127.0.0.1
fedora3 IN A 192.168.1.254
homelan.home. IN NS fedora3
www IN CNAME fedora3
dib2 IN CNAME fedora3
abbey IN CNAME fedora3
mail IN CNAME fedora3
IN MX 10 mail
the reverse lookup zone file is as follows:
Code:
;
; Reverse Zone file for homelan.home
;
;
$ORIGIN 1.168.192.in-addr.arpa.
$TTL 3D
@ IN SOA fedora3.homelan.home. root.homelan.home. (
200211152 ; serial#
3600 ; refresh, seconds
3600 ; retry, seconds
3600 ; expire, seconds
3600 ) ; minimum, seconds
;
IN NS fedora3.homelan.home. ; Inet Address of nameserver
;
254 IN PTR mail.homelan.home.
254 IN PTR abbey.homelan.home.
254 IN PTR dib2.homelan.home.
Copy of relevant system.log
Code:
May 12 17:43:35 fedora3 named: succeeded
May 12 17:43:38 fedora3 named[25744]: starting BIND 9.2.5 -u named -t /var/named/chroot
May 12 17:43:38 fedora3 named[25744]: using 1 CPU
May 12 17:43:38 fedora3 named[25744]: loading configuration from '/etc/named.conf'
May 12 17:43:38 fedora3 named[25744]: listening on IPv4 interface lo, 127.0.0.1#53
May 12 17:43:38 fedora3 named[25744]: listening on IPv4 interface eth0, 192.168.1.254#53
May 12 17:43:38 fedora3 named[25744]: command channel listening on 127.0.0.1#953
May 12 17:43:38 fedora3 named[25744]: command channel listening on ::1#953
May 12 17:43:38 fedora3 named[25744]: zone 0.in-addr.arpa/IN: loaded serial 42
May 12 17:43:38 fedora3 named[25744]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
May 12 17:43:38 fedora3 named[25744]: zone 1.168.192.in-addr.arpa/IN: loaded serial 200211152
May 12 17:43:38 fedora3 named[25744]: zone 255.in-addr.arpa/IN: loaded serial 42
May 12 17:43:38 fedora3 named[25744]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700
May 12 17:43:38 fedora3 named[25744]: dns_master_load: homelan.home.db:23: mail.homelan.home: CNAME and other data
May 12 17:43:38 fedora3 named[25744]: zone homelan.home/IN: loading master file homelan.home.db: CNAME and other data
May 12 17:43:38 fedora3 named[25744]: zone localdomain/IN: loaded serial 42
May 12 17:43:38 fedora3 named[25744]: zone localhost/IN: loaded serial 42
May 12 17:43:38 fedora3 named: named startup succeeded
May 12 17:43:38 fedora3 named[25744]: running
I am new to bind, but I have seen many times warnings not to associate CNAME records for MXes
(mail exchangers) or else bind fails completely. Then even your virtual hosts won't work.
homelan.home. IN NS fedora3
www IN CNAME fedora3
dib2 IN CNAME fedora3
abbey IN CNAME fedora3
mail IN CNAME fedora3 <------- problem !
IN MX 10 mail <------problem !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.