Cannot configure Bind

Issues related to configuring your network
Post Reply
ninetails
Posts: 6
Joined: 2014/01/04 07:32:44
Location: Pune, India

Cannot configure Bind

Post by ninetails » 2014/04/08 08:23:48

Hi all,

I was trying to set up DNS using Bind with the help of this link http://geekpeek.net/install-bind-centos/

Here are the list of
Errro Messages
which I'm getting when i do
service named start :


zone ganit.edu/IN: loading from master file /var/named/ganit.edu.db failed: file not found
zone ganit.edu/IN: not loaded due to errors.
_default/ganit.edu/IN: file not found
zone localhost.localdomain/IN: loading from master file named.localhost failed: file not found
zone localhost.localdomain/IN: not loaded due to errors.
_default/localhost.localdomain/IN: file not found
zone localhost/IN: loading from master file named.localhost failed: file not found
zone localhost/IN: not loaded due to errors.
_default/localhost/IN: file not found
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loading from master file named.loopback failed: file not found
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: not loaded due to errors.
_default/1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: file not found
zone 1.0.0.127.in-addr.arpa/IN: loading from master file named.loopback failed: file not found
zone 1.0.0.127.in-addr.arpa/IN: not loaded due to errors.
_default/1.0.0.127.in-addr.arpa/IN: file not found
zone 0.in-addr.arpa/IN: loading from master file named.empty failed: file not found
zone 0.in-addr.arpa/IN: not loaded due to errors.
_default/0.in-addr.arpa/IN: file not found

ninetails
Posts: 6
Joined: 2014/01/04 07:32:44
Location: Pune, India

Re: Cannot configure Bind

Post by ninetails » 2014/04/08 08:25:34

here is the named.conf file

options {
listen-on port 53 { 127.0.0.1; 192.168.0.15; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; 192.168.0.0/24; };
allow-transfer { localhost; 192.168.0.75; };
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

zone "ganit.edu" IN {
type master;
file "fwd.ganit.edu";
allow-update { none; };
};

zone "0.168.192.in-addr.arpa" IN {
type master;
file "rev.ganit.edu";
allow-update { none; };
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

ninetails
Posts: 6
Joined: 2014/01/04 07:32:44
Location: Pune, India

Re: Cannot configure Bind

Post by ninetails » 2014/04/09 07:38:12

Can anyone please help??

I'm still stuck with the problem.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Cannot configure Bind

Post by avij » 2014/04/09 08:07:27

The error messages you get do not seem to match your configuration. For example, you have specified in your named.conf that the zone file for ganit.edu is "fwd.ganit.edu", but the error message says it can't open "ganit.edu.db". Perhaps you have two named.conf files on your system. Try to find the one that references "ganit.edu.db" and modify it as needed.

If you are using bind in a chroot environment, see /var/named/chroot/etc/named.conf

Post Reply