Getting an error on a very simple DNS configuration

Samad Agha samad.agha2007 at
Wed Apr 8 21:37:25 UTC 2015

Hey Gurus,

I'm a newbie and am trying to set up the simplest DNS server, just a
working version, nothing fancy yet. Below is the steps I've taken already:
1- Set up my /etc/named.conf as follows:
[root at new-dns1 named]# cd /etc
[root at new-dns1 etc]# cat named.conf
zone "" {
        type master;
        file "db.127.0.0";
[root at new-dns1 etc]#

2- Set up my first zone in /var/named/db.127.0.0 as follows:

[root at new-dns1 named]# cat db.127.0.0
@               IN      SOA (
                                1       ; Serial
                                8H      ; Refresh
                                2H      ; Retry
                                4W      ; Expire
                                1D)     ; Minimum TTL
1                       PTR     localhost.
[root at new-dns1 named]#
When I restarted named I got the following error:

[root at new-dns1 named]# service named restart
Stopping named:                                            [  OK  ]
Starting named:
Error in named configuration:
zone loading from master file db.127.0.0 failed:
file not found
zone not loaded due to errors.
_default/ file not found

What's wrong? Please don't assume anything as I'm a newbie.

Many thanks in advance for your excellent work.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bind-users mailing list