<div dir="ltr"><div>Ok, I corrected that and was able to restart named w/o any errors:</div><div> </div><div>[root@new-dns1 etc]# service named restart<br>Stopping named:                                            [  OK  ]<br>Starting named:                                            [  OK  ]<br>[root@new-dns1 etc]#</div><div> </div><div>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?</div><div> </div><div>[mchavoshi@oraapps01 ~]$ nslookup <a href="http://google.com">google.com</a> 206.117.115.92<br>;; connection timed out; trying next origin<br>;; connection timed out; no servers could be reached</div><div>[mchavoshi@oraapps01 ~]$</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 8, 2015 at 2:43 PM, Mark Andrews <span dir="ltr"><<a href="mailto:marka@isc.org" target="_blank">marka@isc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
You have a "file not found" error.  Specify the working directory<br>
and where file names are relative to or use absolute file names.<br>
<br>
options {<br>
        directory "/var/named";<br>
};<br>
<br>
Mark<br>
<br>
<br>
In message <CAOqzdMruo=N33U5r5jh-93CRpqfek83uUy5182QCm_XfOm=<a href="mailto:01A@mail.gmail.com">01A@mail.gmail.com</a>><br>
<div class="HOEnZb"><div class="h5">, Samad Agha writes:<br>
><br>
> Hey Gurus,<br>
><br>
> I'm a newbie and am trying to set up the simplest DNS server, just a<br>
> working version, nothing fancy yet. Below is the steps I've taken already:<br>
> 1- Set up my /etc/named.conf as follows:<br>
> [root@new-dns1 named]# cd /etc<br>
> [root@new-dns1 etc]# cat named.conf<br>
> zone "0.0.127.in-addr.arpa" {<br>
>         type master;<br>
>         file "db.127.0.0";<br>
> };<br>
> [root@new-dns1 etc]#<br>
><br>
> 2- Set up my first zone in /var/named/db.127.0.0 as follows:<br>
><br>
> [root@new-dns1 named]# cat db.127.0.0<br>
> $TTL 3D<br>
> @               IN      SOA     <a href="http://new-dns1.ci.glendale.ca.us" target="_blank">new-dns1.ci.glendale.ca.us</a><br>
> <a href="http://mchavoshi.glendaleca.gov" target="_blank">mchavoshi.glendaleca.gov</a>. (<br>
>                                 1       ; Serial<br>
>                                 8H      ; Refresh<br>
>                                 2H      ; Retry<br>
>                                 4W      ; Expire<br>
>                                 1D)     ; Minimum TTL<br>
>                         NS      <a href="http://new-dns1.ci.glendale.ca.us" target="_blank">new-dns1.ci.glendale.ca.us</a>.<br>
> 1                       PTR     localhost.<br>
> [root@new-dns1 named]#<br>
> When I restarted named I got the following error:<br>
><br>
> [root@new-dns1 named]# service named restart<br>
> Stopping named:                                            [  OK  ]<br>
> Starting named:<br>
> Error in named configuration:<br>
> zone 0.0.127.in-addr.arpa/IN: loading from master file db.127.0.0 failed:<br>
> file not found<br>
> zone 0.0.127.in-addr.arpa/IN: not loaded due to errors.<br>
> _default/0.0.127.in-addr.arpa/IN: file not found<br>
>                                                            [FAILED]<br>
><br>
> What's wrong? Please don't assume anything as I'm a newbie.<br>
><br>
> Many thanks in advance for your excellent work.<br>
><br>
> Hiroshi<br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Mark Andrews, ISC<br>
1 Seymour St., Dundas Valley, NSW 2117, Australia<br>
PHONE: <a href="tel:%2B61%202%209871%204742" value="+61298714742">+61 2 9871 4742</a>                 INTERNET: <a href="mailto:marka@isc.org">marka@isc.org</a><br>
</font></span></blockquote></div><br></div>