Failed to start bind starting named error

Issues related to configuring your network
Post Reply
tedybear
Posts: 9
Joined: 2014/04/08 05:07:56

Failed to start bind starting named error

Post by tedybear » 2014/04/09 14:59:38

I was already setting my DNS on webmin, and when i tried to press Start Bind. I got this message:

Code: Select all

Failed to start BIND : Starting named: Error in named configuration: zone dedeobi.com/IN: loading from master file dedeobi.com.fwd failed: file not found zone dedeobi.com/IN: not loaded due to errors. _default/dedeobi.com/IN: file not found zone 0.168.192.in-addr.arpa/IN: loading from master file dedeobi.com.rev failed: file not found zone 0.168.192.in-addr.arpa/IN: not loaded due to errors. _default/0.168.192.in-addr.arpa/IN: file not found [FAILED] 
I was trying to setup manually from ssh, but it's still error. :?:

Can I reset Bind DNS to default? Because I am confused with My Configuration.

TiTex
Posts: 36
Joined: 2014/01/21 10:36:33
Location: Cluj-Napoca, Romania

Re: Failed to start bind starting named error

Post by TiTex » 2014/04/10 08:48:10

your files are not in the right location ... check the settings in /etc/named.conf

tedybear
Posts: 9
Joined: 2014/04/08 05:07:56

Re: Failed to start bind starting named error

Post by tedybear » 2014/04/18 08:59:20

Here is /etc/named.conf

Operating System : CentOS 6.5 64bit VPS
Hostname : dedeobi.com
IP Address : 103.27.207.136
Name server : ns1.dedeobi.com
Name server : ns2.dedeobi.com


//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { 127.0.0.1; 103.27.207.136;};
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; 103.27.207.0/24; };
allow-transfer { localhost; 103.27.207.136; };
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";
auth-nxdomain no;
};

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

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

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

zone "dedeobi.com" {
type master;
file "/var/named/dedeobi.com.hosts";
};
zone "207.27.103.in-addr.arpa" {
type master;
file "/var/named/103.27.207.rev";
};


==============================================================================================

My /var/named/dedeobi.com.hosts
$TTL 86400
@ IN SOA dedeobi.com. dedeobi.thegold.asia. (
2011071001 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

@ IN NS ns1.dedeobi.com.
@ IN NS ns2.dedeobi.com.

@ IN A 103.27.207.136
@ IN A 103.27.207.136
@ IN A 103.27.207.136

ns1 IN A 103.27.207.136
ns2 IN A 103.27.207.136
client IN A 103.27.207.136
========================================================================================
My /var/named/103.27.207.rev

$TTL 86400
@ IN SOA dedeobi.com. dedeobi.thegold.asia. (
2011071001 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

@ IN NS ns1.dedeobi.com.
@ IN NS ns2.dedeobi.com.
@ IN PTR dedeobi.com.

ns1 IN A 103.27.207.136
ns2 IN A 103.27.207.136
client IN A 103.27.207.136

136 IN PTR ns1.dedeobi.com.
136 IN PTR ns2.dedeobi.com.
136 IN PTR client.dedeobi.com.
========================================================================================
Linux Firewall:
Accept If protocol is UDP and destination port is 53 and state of connection is NEW
Accept If protocol is TCP and destination port is 53 and state of connection is NEW
========================================================================================
My /etc/resolv.conf

search dedeobi.com
nameserver 103.27.207.136
nameserver 103.27.207.136
nameserver 8.8.8.8
========================================================================================

Post Reply