Okay, I give up. (BIND madness!)
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?
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?
Even if you're on the right track, you'll get run over if you just sit there.
--Will Rogers
--Will Rogers
Comments
-
petedude Member Posts: 1,510Built a new VM, set up for Webmin. Ran through the Webmin setup. . . turns out what I have above is overkill.
Biggest problem is the zone file. Can do more with way less.
Might try copying the zone files back over to the old VM, as I had a lot of other services already put in that I'd rather not rebuild.Even if you're on the right track, you'll get run over if you just sit there.
--Will Rogers