Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2000 15:32:04 -0600
From:      Chris Manjoine <chris-manjoine@uiowa.edu>
To:        freebsd-newbies@FreeBSD.ORG
Subject:   Primary DNS setup problems
Message-ID:  <4.2.2.20000106150136.00ab4f00@mail.vpr.uiowa.edu>

next in thread | raw e-mail | index | archive | help
--=====================_285690130==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Ok I have set up DNS on a redhat box before and I thought this would be 
straight forward I have added the configurations in my named.conf file to 
goto my zone but nothing happens. I can't get it to work at all


named.conf

options {
         directory "/etc/namedb";
         pid-file "/var/run/named.pid";
         };

zone "." {
         type hint;
         file "/etc/namedb/db.cache";
         };

zone "0.0.127.IN-ADDR.ARPA" {
         type master;
         file "/etc/namedb/0.0.127.IN-ADDR.ARPA.hosts";
         };



I want to get the caching name server setup first to avoid any simple 
errors but this will not even work.
the db.cache is the same as everyone else has and the 
0.0.127.IN-ADDR.ARPA.hosts

@               IN      SOA     ns.linux.bogus. hostmaster.linux.bogus. (
                                 1       ; Serial
                                 8H      ; Refresh
                                 2H      ; Retry
                                 1W      ; Expire
                                 1D)     ; Minimum TTL
                         NS      ns.linux.bogus.
1                       PTR     localhost.



rc.conf file stuff NOTE THAT I AM USING A DHCP CLIENT THAT LINKS TO A STATIC IP

# -- sysinstall generated deltas -- #
network_interfaces="ep0 lo0"
ifconfig_ep0="DHCP"
# -- sysinstall generated deltas -- #
named_enable="YES"

Other info available at request~                      
--=====================_285690130==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
Ok I have set up DNS on a redhat box before and I thought this would be
straight forward I have added the configurations in my named.conf file to
goto my zone but nothing happens. I can't get it to work at all <br>
<br>
<br>
named.conf<br>
<br>
options {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; directory
&quot;/etc/namedb&quot;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pid-file
&quot;/var/run/named.pid&quot;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>
<br>
zone &quot;.&quot; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type hint;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file
&quot;/etc/namedb/db.cache&quot;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>
<br>
zone &quot;0.0.127.IN-ADDR.ARPA&quot; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type master;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file
&quot;/etc/namedb/0.0.127.IN-ADDR.ARPA.hosts&quot;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
<br>
<br>
I want to get the caching name server setup first to avoid any simple
errors but this will not even work.<br>
the db.cache is the same as everyone else has and the
0.0.127.IN-ADDR.ARPA.hosts<br>
<br>
<font face="Courier New, Courier">@&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SOA&nbsp;&nbsp;&nbsp;&nbsp;
ns.linux.bogus. hostmaster.linux.bogus. (<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1&nbsp;&nbsp;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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ns.linux.bogus.<br>
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PTR&nbsp;&nbsp;&nbsp;&nbsp; localhost.<br>
<br>
<br>
<br>
</font>rc.conf file stuff NOTE THAT I AM USING A DHCP CLIENT THAT LINKS
TO A STATIC IP<br>
<br>
# -- sysinstall generated deltas -- #<br>
network_interfaces=&quot;ep0 lo0&quot;<br>
ifconfig_ep0=&quot;DHCP&quot;<br>
# -- sysinstall generated deltas -- #<br>
named_enable=&quot;YES&quot;<br>
<br>
Other info available at
request~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</html>

--=====================_285690130==_.ALT--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.2.20000106150136.00ab4f00>