Easy fix.. These two records can not coexist:
www.espersunited.com. IN CNAME carter.espersunited.com.
www.espersunited.com. IN A 192.168.0.2
The error message was completely correct in saying:
failed: CNAME and other data
In this particular case, the other data was an A resource record.
Hope this helps,
Len
On Sunday, January 26, 2014 2:47 PM, Michael Sullivan <msulli1...@gmail.com>
wrote:
Years ago I set up a DNS server on my network. I found out last Friday
>that it is no longer working. I switched to a new ISP last July and
>after that, my network numbers changed from 192.168.2.? to 192.168.0.?.
>I have updated my zone file, but it still doesn't work and I can't
>figure out why.
>
>Here's the output from named-checkconf:
>
>carter bind # named-checkconf named.conf
>carter bind #
>
>
>So named.conf is good.
>
>The problem I'm having is with db.espersunited.com
>
>Here's the output of named-checkzone:
>
>
>
>carter bind # named-checkzone espersunited.com db.espersunited.com
>dns_master_load: db.espersunited.com:37: www.espersunited.com: CNAME and
>other data
>zone espersunited.com/IN: loading from master file db.espersunited.com
>failed: CNAME and other data
>zone espersunited.com/IN: not loaded due to errors.
>carter bind #
>
>
>And here's the4 zone file itself:
>
>carter bind # cat db.espersunited.com
>$TTL 3h
>espersunited.com. IN SOA carter.espersunited.com.
>michael.carter.espersunited.com. (
>
> 1 ;Serial
> 3h ;Refresh after 3 hours
> 1h ;Retry after one hour
> 1w ;Expire after one week
> 1h ) ;Negative caching TTL of 1 hour
>
>;Name server(s)
>espersunited.com. IN NS carter.espersunited.com.
>ns.espersunited.com IN NS carter.espersunited.com.
>cam.espersunited.com IN NS camille.espersunited.com.
>cat.espersunited.com IN NS catherine.espersunited.com.
>
>;Host addresses
>localhost.espersunited.com. IN A 127.0.0.1
>carter.espersunited.com. IN A 192.168.0.2
>camille.espersunited.com. IN A 192.168.0.3
>catherine.espersunited.com. IN A 192.168.0.4
>bullet.espersunited.com. IN A 192.168.0.5
>espersunited.com. IN A 192.168.0.2
>www.espersunited.com. IN A 192.168.0.2
>
>
>;MX records
>espersunited.com. IN MX 0 carter.espersunited.com.
>carter.espersunited.com. IN MX 1 carter.espersunited.com.
>
>;CNAME records
>mail.espersunited.com. IN CNAME carter.espersunited.com.
>imap.espersunited.com. IN CNAME carter.espersunited.com.
>smtp.espersunited.com. IN CNAME carter.espersunited.com.
>pop.espersunited.com. IN CNAME carter.espersunited.com.
>pop3.espersunited.com. IN CNAME carter.espersunited.com.
>ftp.espersunited.com. IN CNAME carter.espersunited.com.
>www.espersunited.com. IN CNAME carter.espersunited.com.
>festival.espersunited.com. IN CNAME camille.espersunited.com.
>
>carter bind #
>
>I can't see anything wrong with it, but when I try to dig
>carter.espersunited.com, I get
>carter bind # dig carter.espersunited.com
>
>; <<>> DiG 9.9.3-P2 <<>> carter.espersunited.com
>;; global options: +cmd
>;; Got answer:
>;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 46676
>;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
>
>;; OPT PSEUDOSECTION:
>; EDNS: version: 0, flags:; udp: 4096
>;; QUESTION SECTION:
>;carter.espersunited.com. IN A
>
>;; Query time: 0 msec
>;; SERVER: 127.0.0.1#53(127.0.0.1)
>;; WHEN: Sun Jan 26 16:46:11 CST 2014
>;; MSG SIZE rcvd: 52
>
>carter bind #
>
>
>SERVFAIL. What am I missing?
>_______________________________________________
>Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
>from this list
>
>bind-users mailing list
>bind-users@lists.isc.org
>https://lists.isc.org/mailman/listinfo/bind-users
>
>
>
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users