Posted on 2013-12-22
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 loaded serial 42
zone NS '' has no address records (A or AAAA)
zone not loaded due to errors.
_default/ bad zone
Question by:ittechlab
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 39734980
[root@dnsserver named]# ls -l
total 8
-rw-r--r--. 1 root named 395 Nov  1 23:01
-rw-r--r--. 1 root named 316 Nov  1 22:18
[root@dnsserver named]#
[root@dnsserver named]# pwd

Author Comment

ID: 39734981
[root@dnsserver named]# cat
$TTL 86400
@               SOA root (
                          42      ; serial, todays date+todays
                          3H      ; refresh, seconds
                          15M     ; retry, seconds
                          1W      ; expire, seconds
                          1D)   ; minimum

@               NS
dnsserver       A

Author Comment

ID: 39734982
[root@dnsserver named]# cat
$TTL 86400
@   SOA (
                3215040200      ; serial, todays date+todays
                86400           ; refresh, seconds
                7200            ; retry, seconds
                3600000         ; expire, seconds
                86400 )         ; minimum, seconds

         IN NS
110      IN PTR
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 39734983
[root@dnsserver named]# cat /var/named/chroot/etc/named.conf
        directory "/var/named";

zone "" {
        type master;
        file "";
        allow-transfer {;};

zone "" {
        type master;
        file "";
LVL 94

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

Author Comment

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

Expert Comment

ID: 39735056
Did you change your serial number after your last update of your files?  And then restarted DNS again?

The serial number of file is 42, which is valid.

Traditionally, people make it something like


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.
LVL 62

Expert Comment

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

Expert Comment

ID: 39739521

@               NS

should be


Accepted Solution

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

Author Closing Comment

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

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SMB share across internet 15 83
postfix start error! 9 54
Fuzzy search functionality DB2 UDB 3 34
Understanding ping command in Ubuntu 5 33
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

733 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