Control Web Panel
WebPanel => DNS => Topic started by: oneorzero on January 17, 2014, 08:13:33 PM
-
I set the nameserver IPs etcas per instructions but BIND wont start get the following:-
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
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: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone xxx.co.uk/IN: NS 'ns1.xxx.co.uk' has no address records (A or AAAA)
zone xxx.co.uk/IN: NS 'ns2.xxx.co.uk' has no address records (A or AAAA)
zone xxx.co.uk.uk/IN: not loaded due to errors.
_default/xxx.co.uk/IN: bad zone
[FAILED]
Zone file is this
; Panel %version%
; Zone file for xxx.co.uk
$TTL 14400
xxx.co.uk. 86400 IN SOA ns1.xxx.co.uk. email@email.co.uk. (
2013071600 ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
xxx.co.uk. 86400 IN NS ns1.xxx.co.uk.
xxx.co.uk. 86400 IN NS ns2.xxx.co.uk.
xxx.co.uk. IN A 107.161.xxx.xxx
localhost.xxx.co.uk. IN A 127.0.0.1
xxx.co.uk. IN MX 0 xxx.co.uk.
mail IN CNAME xxx.co.uk.
www IN CNAME xxx.co.uk.
ftp IN CNAME xxx.co.uk.
; Add additional settings below this line
i figured adding the ip and nameserver via the panel would populate the ns1.xxx.co.uk IN A 107.161.xxx.xxx bit but hasnt in this instance it didnt like being manually added, any ideas?
-
got it working by adding ns1 IN A 107.158.xxx.xxx and ns2. IN A 107.158.xxx.xxx
Figured it was worth leaving the post up in case anyone else had this issue and for the developers to have a look at
-
yes, me too,
I got this issue too
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
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: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone resepseru.com/IN: NS 'ns1.resepseru.com' has no address records (A or AAAA)
zone resepseru.com/IN: NS 'ns2.resepseru.com' has no address records (A or AAAA)
zone resepseru.com/IN: not loaded due to errors.
_default/resepseru.com/IN: bad zone
[FAILED]
and the zone file is
; Panel %version%
; Zone file for resepseru.com
$TTL 14400
resepseru.com. 86400 IN SOA ns1.resepseru.com. admin@tamaciptahosting.com. (
2013071600 ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
resepseru.com. 86400 IN NS ns1.resepseru.com.
resepseru.com. 86400 IN NS ns2.resepseru.com.
resepseru.com. IN A 107.161.81.239
localhost.resepseru.com. IN A 127.0.0.1
resepseru.com. IN MX 0 resepseru.com.
mail IN CNAME resepseru.com.
www IN CNAME resepseru.com.
ftp IN CNAME resepseru.com.
; Add additional settings below this line
@oneorzero
where exactly i must adding ns1 in A.
in the domain control panel or else?
Thanks all, and need your help
-
After finding on the net gladly it solve,
-
nameserver entry's are always needed, and if any bugs you can search with google like for standard CentOS installation.
-
I am still getting the same error how do i fix this?
-
ty oneorzero works now!
-
nameserver entry's are always needed, and if any bugs you can search with google like for standard CentOS installation.
bro,could you pleace explain the trick to solve it? using panel in domain manager or in centos web panel? tq
-
you need to check what is your error message.
-
Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:62: unexpected end of input
[FAILED]
==========================================
/etc/named.conf
==========================================
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : any TLDs and address zones
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "any" IN {
type master;
file "any.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "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 {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
// zone netmkd.com
zone "netmkd.com" {
type master;
file "/var/named/netmkd.com.db";};
// zone_end netmkd.com
// zone geunet.com
zone "geunet.com" {
type master;
file "/var/named/geunet.com.db";};
// zone_end geunet.com
How to FIX ???
-
you should check your line number 62. in /etc/named.conf
/etc/named.conf:62: unexpected end of input
-
change @ with a . --> this is sloved for me :)
-
Still wont start .. help me ..
-----------------------------
Stopping named: [ OK ]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
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: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
dns_rdata_fromtext: /var/named/mydomain.net.db:4: near 'mydomain@gmail.com.': bad name (check-names)
/var/named/mydomain.net.db:27: file does not end with newline
zone mydomain.net/IN: loading from master file /var/named/mydomain.net.db failed: bad name (check-names)
zone mydomain.net/IN: not loaded due to errors.
_default/mydomain.net/IN: bad name (check-names)
[FAILED]
-
change mydomain@gmail.com to mydomain.gmail.com