LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Newbie needs help with bind (https://www.linuxquestions.org/questions/debian-26/newbie-needs-help-with-bind-4175529403/)

cabron9 12-28-2014 11:40 AM

Newbie needs help with bind
 
I am trying to set up a DNS server on my home lan. Why; I want to learn how to do it.

The following errors were found in the BIND configuration file /etc/bind/named.conf or referenced zone files ..

zone debian.local/IN: NS 'ns.debian.local' has no address records (A or AAAA)
zone debian.local/IN: not loaded due to errors.
_default/debian.local/IN: bad zone
zone 0.168.192.in-addr.arpa/IN: NS 'ns.debian.local.0.168.192.in-addr.arpa' has no address records (A or AAAA)
zone 0.168.192.in-addr.arpa/IN: not loaded due to errors.
_default/0.168.192.in-addr.arpa/IN: bad zone


Would appreciate any help.

Here is my named.conf


// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";


Let me know what else you need to know. Thanks in advance for your assistance.

bathory 12-29-2014 03:18 AM

Quote:

zone debian.local/IN: NS 'ns.debian.local' has no address records (A or AAAA)
zone debian.local/IN: not loaded due to errors.
_default/debian.local/IN: bad zone
zone 0.168.192.in-addr.arpa/IN: NS 'ns.debian.local.0.168.192.in-addr.arpa' has no address records (A or AAAA)
zone 0.168.192.in-addr.arpa/IN: not loaded due to errors.
_default/0.168.192.in-addr.arpa/IN: bad zone
Without the zone files in question, I can only guess that:
1. You don't have an A RR for ns.debian.local in the forward zone file
2. You miss the trailing dot in the NS RR in the reverse zone file

You know that you can use named-checkzone to check your zone files for errors

Regards


All times are GMT -5. The time now is 03:04 PM.