ittechlab
asked on
Linux
can some one help me with this issue
[root@dnsserver named]# service named start
Generating /etc/rndc.key: [ OK ]
Starting named:
Error in named configuration:
zone toronto.com/IN: loaded serial 42
zone 122.168.192.in-addr.arpa/I N: NS 'dnsserver.toronto.com.122 .168.192.i n-addr.arp a' has no address records (A or AAAA)
zone 122.168.192.in-addr.arpa/I N: not loaded due to errors.
_default/122.168.192.in-ad dr.arpa/IN : bad zone
[FAILED]
[root@dnsserver named]# service named start
Generating /etc/rndc.key: [ OK ]
Starting named:
Error in named configuration:
zone toronto.com/IN: loaded serial 42
zone 122.168.192.in-addr.arpa/I
zone 122.168.192.in-addr.arpa/I
_default/122.168.192.in-ad
[FAILED]
ASKER
[root@dnsserver named]# cat toronto.com.zone
$TTL 86400
@ SOA toronto.com root (
42 ; serial, todays date+todays
3H ; refresh, seconds
15M ; retry, seconds
1W ; expire, seconds
1D) ; minimum
@ NS dnsserver.toronto.com.
dnsserver A 192.168.122.110
$TTL 86400
@ SOA toronto.com root (
42 ; serial, todays date+todays
3H ; refresh, seconds
15M ; retry, seconds
1W ; expire, seconds
1D) ; minimum
@ NS dnsserver.toronto.com.
dnsserver A 192.168.122.110
ASKER
[root@dnsserver named]# cat 122.168.192.in-addr.arpa.z one
$TTL 86400
@ SOA toronto.com. root.dnsserver.toronto.com . (
3215040200 ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
IN NS dnsserver.toronto.com
110 IN PTR dnsserver.toronto.com.
$TTL 86400
@ SOA toronto.com. root.dnsserver.toronto.com
3215040200 ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
IN NS dnsserver.toronto.com
110 IN PTR dnsserver.toronto.com.
ASKER
[root@dnsserver named]# cat /var/named/chroot/etc/name d.conf
options{
directory "/var/named";
};
zone "toronto.com" {
type master;
file "toronto.com.zone";
allow-transfer {192.168.122.1;};
};
zone "122.168.192.in-addr.arpa" {
type master;
file "122.168.192.in-addr.arpa. zone";
};
options{
directory "/var/named";
};
zone "toronto.com" {
type master;
file "toronto.com.zone";
allow-transfer {192.168.122.1;};
};
zone "122.168.192.in-addr.arpa"
type master;
file "122.168.192.in-addr.arpa.
};
I am not sure from a Linux point of view.
Is this a today issue? There are widespread power outages here.
.... Thinkpads_User
Is this a today issue? There are widespread power outages here.
.... Thinkpads_User
ASKER
I am just setting up new DNS server on my system. I am getting that error.
Did you change your serial number after your last update of your files? And then restarted DNS again?
The serial number of Toronto.com file is 42, which is valid.
Traditionally, people make it something like
2013122203
Which is year month day and last two digits for the number of times you modified your file today. So 03 would mean that it is the fourth version for today.
If you don't change it, it would not load the changes.
The serial number of Toronto.com file is 42, which is valid.
Traditionally, people make it something like
2013122203
Which is year month day and last two digits for the number of times you modified your file today. So 03 would mean that it is the fourth version for today.
If you don't change it, it would not load the changes.
Try something like named-checkconf -z -j -p
It is the tool start script tries...
It is the tool start script tries...
In toronto.com.zone
@ NS dnsserver.toronto.com.
should be
IN NS dnsserver.toronto.com.
@ NS dnsserver.toronto.com.
should be
IN NS dnsserver.toronto.com.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I fixed my self. Please close this question.
ASKER
total 8
-rw-r--r--. 1 root named 395 Nov 1 23:01 122.168.192.in-addr.arpa.z
-rw-r--r--. 1 root named 316 Nov 1 22:18 toronto.com.zone
[root@dnsserver named]#
[root@dnsserver named]# pwd
/var/named/chroot/var/name