Solved

Linux

Posted on 2013-12-22
11
482 Views
Last Modified: 2013-12-30
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/IN: NS 'dnsserver.toronto.com.122.168.192.in-addr.arpa' has no address records (A or AAAA)
zone 122.168.192.in-addr.arpa/IN: not loaded due to errors.
_default/122.168.192.in-addr.arpa/IN: bad zone
                                                           [FAILED]
0
Comment
Question by:ittechlab
11 Comments
 

Author Comment

by:ittechlab
ID: 39734980
[root@dnsserver named]# ls -l
total 8
-rw-r--r--. 1 root named 395 Nov  1 23:01 122.168.192.in-addr.arpa.zone
-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/named
0
 

Author Comment

by:ittechlab
ID: 39734981
[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
0
 

Author Comment

by:ittechlab
ID: 39734982
[root@dnsserver named]# cat 122.168.192.in-addr.arpa.zone
$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.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:ittechlab
ID: 39734983
[root@dnsserver named]# cat /var/named/chroot/etc/named.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";
};
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 39734987
I am not sure from a Linux point of view.

Is this a today issue?  There are widespread power outages here.

.... Thinkpads_User
0
 

Author Comment

by:ittechlab
ID: 39734989
I am just setting up new DNS server on my system.  I am getting that error.
0
 
LVL 31

Expert Comment

by:farzanj
ID: 39735056
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.
0
 
LVL 62

Expert Comment

by:gheist
ID: 39737128
Try something like named-checkconf -z -j -p
It is the tool start script tries...
0
 
LVL 48

Expert Comment

by:Tintin
ID: 39739521
In toronto.com.zone

@               NS      dnsserver.toronto.com.

should be

IN NS dnsserver.toronto.com.
0
 

Accepted Solution

by:
ittechlab earned 0 total points
ID: 39739532
i fixed it. it was some syntax issue.
fixed
0
 

Author Closing Comment

by:ittechlab
ID: 39745783
I fixed my self. Please close this question.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 174
Penetration Testing home based work 3 91
What is linux 4.8.22? Is it the same as ubuntu 16.10 ?? 2 55
Apache module 5 47
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question