Help! Getting SERVFAIL errors on nslookup
Joshua Peter
fsjcp2 at hotmail.com
Tue Feb 22 02:19:16 UTC 2005
I'm configuring my first BIND DNS server on RH9, stripped down install box.
When I'm testing with nslookup on for my master zone somefakedomain.com, I
get a SERVFAIL error. Please help.
**** nslookup results ****
[root at localhost fsjcp2]# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
>server 127.0.0.1
Default server: 127.0.0.1
Address: 127.0.0.1#53
>somefakedomain.com
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find somefakedomain.com: SERVFAIL
**** /etc/sysconfig/network-scripts/ifcfg-eth0 ****
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.200
USERCTL=no
**** /etc/named.conf ****
options {
directory "/var/named";
/*
* 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;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "somefakedomain.com" IN {
type master;
file "somefakedomain.com.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
include "/etc/rndc.key";
**** /var/named/somefakedomain.com.zone ****
$TTL 86400
$ORIGIN somefakedomain.com.
@ IN SOA ns1.somefakedomain.com. admin.somefakedomain.com.
(
2004042601 ; serial
21600 ; refresh
3600 ; retry
604800 ; expiry
86400 ) ; minimum
IN NS ns1.somefakedomain.com.
IN MX 10 mail.somefakedomain.com.
IN A 192.168.1.200
ns1 IN A 192.168.1.200
www IN A 192.168.1.200
ftp IN A 192.168.1.200
mail IN A 192.168.1.200
More information about the bind-users
mailing list