Hello, all--
I've been trying to set up a test VM (host-only) with a CentOS 6.3 DNS server for days now. I can get named to start without errors, but I get SERVFAIL errors when I try to do lookups so I must be missing something. If I could get the server to ping itself, it would be a huge victory.
Hostname is csapicons01.csanet.com and IP address is 192.168.1.1.
resolv.conf:
search csanet.com
nameserver 192.168.1.1
named.conf:
options {
directory "/var/named";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "data/db.192.168.1";
};
zone "csanet.com" {
type master;
file "data/db.csanet.com";
};
db.csanet.com:
$TTL 86400
@ IN SOA csapicons01.csanet.com. root (
10 ; Serial
10800 ; Refresh
3600 ; Retry
10800 ; Expire
38400 ) ; Minimum
IN NS csapicons01.csanet.com.
csanet.com. IN A 192.168.1.1
csapicons01 IN A 192.168.1.1
db.192.168.1:
$TTL 86400
@ IN SOA csapicons01.csanet.com. root (
10 ; Serial
10800 ; Refresh
3600 ; Retry
10800 ; Expire
38400 ); Minimum
;
IN NS csapicons01.csanet.com.
IN 1 PTR csanet.com.
IN 1 PTR csapicons01.csanet.com.
Any help would be appreciated. Very much appreciated. Did I mention that I would be appreciative of help?