Date: Wed, 01 Jan 1997 08:13:19 -0100 From: Darius Moos <moos@degnet.baynet.de> To: shadow@wnc.com Cc: questions@freebsd.org Subject: Re: DNS and other domain than mine Message-ID: <3.0.32.19970101081318.0070ac14@cyclone.degnet.baynet.de>
next in thread | raw e-mail | index | archive | help
In named.boot make another primary entry for "yourcompany.com" like primary yourcompany.com hosts.yourcompany In the description-file "hosts.yourcompany" make the appropriate entries. If yourcompany.com is not an alias for wnc.com make an primary entry in named.boot for the reverse-resolution of yourcompany.com like primary xxx.yyy.zzz.in-addr.arpa rev.xxx.yyy.zzz In the file xxx.yyy.zzz make the appropriate entries. Send named a HUP. >etc, but can't get a domain like yourcompany.com to nslookup other than >yourcompany.com.wnc.com,as if it was just another host name on wnc.com. For this have a look at /etc/resolv.conf and there at the searchlist- directive. Darius Moos. At 20:36 31.12.96 EDT, you wrote: >Below is the total text of the four files that seems to run my nameserver very >well. Can ANYONE help me learn where, in these four files or >combination of files, I would assign another domain name like >yourcompany.com. I can make names off of wnc.com like crafts.wnc.com etc >etc, but can't get a domain like yourcompany.com to nslookup other than >yourcompany.com.wnc.com,as if it was just another host name on wnc.com. >Thanks in advance for any help. > >Vernon Silvers II > > >Named.boot file > >;; boot file for name server >;; type domain source file or host > >directory /usr/local/named > >cache . named.ca > >;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >;; >;; Primary name service >;; loopback interface >primary 127.IN-ADDR.ARPA rev.127 > >;; WNC.COM domain >primary wnc.com hosts.wnc > >;; 207 network >primary 56.238.207.in-addr.arpa rev.207.238.56 > >---------------------------------------------------- >hosts.wnc file: > > >$ORIGIN wnc.com. > >@ IN SOA unix.wnc.com. shadow.asheville.wnc.com. ( > 96121301 ; Serial > 10800 ; Refresh after 3 hours > 3600 ; Retry after 1 hour > 604800 ; Expire after 1 week > 86400 ) ; Minimum TTL of 1 day > >; Name servers > >@ IN NS unix.wnc.com. > >; Root name entry > >@ IN A 199.72.45.2 > IN MX 1 asheville > > >; Addresses for the canonical names > >localhost IN A 127.0.0.1 >crafts IN A 199.72.45.1 >asheville IN A 199.72.45.2 >unix IN A 207.238.56.2 >wnc-gw IN A 207.238.56.51 > >------------------------------------------------------------------ >rev.207.238.56 > > >$ORIGIN 56.238.207.in-addr.arpa. > >@ IN SOA unix.wnc.com shadow.asheville.wnc.com. ( > 96121301 ; Serial > 10800 ; Refresh after 3 hours > 3600 ; Retry after 1 hour > 604800 ; Expire after 1 week > 86400 ) ; Minimum TTL of 1 day > >; Name Servers > A >@ IN NS unix.wnc.com. > >; Addresses point to canonical name > >2 IN PTR unix.wnc.com. >51 IN PTR wnc-gw.wnc.com. > > >---------------------------------------------------------------- >rev.127.0.0 > >AORIGIN 127.IN-ADDR.ARPA. > >@ IN SOA unix.wnc.com. shadow.asheville.wnc.com. ( > 96121301 ; Serial > 10800 ; Refresh after 3 hours > 3600 ; Retry after 1 hour > 604800 ; Expire after 1 week > 86400 ) ; Minimum TTL of 1 day > >; Name Servers > >@ IN NS unix.wnc.com. > >; Ethernet Addresses > >1.0.0 IN PTR localhost.wnc.com. > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19970101081318.0070ac14>