From owner-freebsd-questions Tue Dec 31 23:20:10 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA16607 for questions-outgoing; Tue, 31 Dec 1996 23:20:10 -0800 (PST) Received: from cyclone.degnet.baynet.de (root@cyclone.degnet.baynet.de [194.95.214.129]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id XAA16600 for ; Tue, 31 Dec 1996 23:20:07 -0800 (PST) Received: from nada (ppp2 [194.95.214.132]) by cyclone.degnet.baynet.de (8.6.12/8.6.9) with SMTP id JAA03102; Wed, 1 Jan 1997 09:29:31 +0100 Message-Id: <3.0.32.19970101081318.0070ac14@cyclone.degnet.baynet.de> X-Sender: moos@cyclone.degnet.baynet.de X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Wed, 01 Jan 1997 08:13:19 -0100 To: shadow@wnc.com From: Darius Moos Subject: Re: DNS and other domain than mine Cc: questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. > >