Ok, I corrected that and was able to restart named w/o any errors:

[root@new-dns1 etc]# service named restart
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
[root@new-dns1 etc]#

Now, I should have a working DNS server, right? Now when I go to another
machine and query this newly set up DNS server I get the following error.
Why?

[mchavoshi@oraapps01 ~]$ nslookup google.com 206.117.115.92
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
[mchavoshi@oraapps01 ~]$

On Wed, Apr 8, 2015 at 2:43 PM, Mark Andrews <ma...@isc.org> wrote:

>
> You have a "file not found" error.  Specify the working directory
> and where file names are relative to or use absolute file names.
>
> options {
>         directory "/var/named";
> };
>
> Mark
>
>
> In message <CAOqzdMruo=N33U5r5jh-93CRpqfek83uUy5182QCm_XfOm=
> 0...@mail.gmail.com>
> , Samad Agha writes:
> >
> > 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@new-dns1 named]# cd /etc
> > [root@new-dns1 etc]# cat named.conf
> > zone "0.0.127.in-addr.arpa" {
> >         type master;
> >         file "db.127.0.0";
> > };
> > [root@new-dns1 etc]#
> >
> > 2- Set up my first zone in /var/named/db.127.0.0 as follows:
> >
> > [root@new-dns1 named]# cat db.127.0.0
> > $TTL 3D
> > @               IN      SOA     new-dns1.ci.glendale.ca.us
> > mchavoshi.glendaleca.gov. (
> >                                 1       ; Serial
> >                                 8H      ; Refresh
> >                                 2H      ; Retry
> >                                 4W      ; Expire
> >                                 1D)     ; Minimum TTL
> >                         NS      new-dns1.ci.glendale.ca.us.
> > 1                       PTR     localhost.
> > [root@new-dns1 named]#
> > When I restarted named I got the following error:
> >
> > [root@new-dns1 named]# service named restart
> > Stopping named:                                            [  OK  ]
> > Starting named:
> > Error in named configuration:
> > zone 0.0.127.in-addr.arpa/IN: loading from master file db.127.0.0 failed:
> > file not found
> > zone 0.0.127.in-addr.arpa/IN: not loaded due to errors.
> > _default/0.0.127.in-addr.arpa/IN: file not found
> >                                                            [FAILED]
> >
> > What's wrong? Please don't assume anything as I'm a newbie.
> >
> > Many thanks in advance for your excellent work.
> >
> > Hiroshi
> >
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: ma...@isc.org
>
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to