From owner-freebsd-questions Tue Dec 31 17:25:32 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA05992 for questions-outgoing; Tue, 31 Dec 1996 17:25:32 -0800 (PST) Received: from Asheville.wnc.com (wnc.com [207.238.56.3]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id RAA05987 for ; Tue, 31 Dec 1996 17:25:30 -0800 (PST) From: shadow@wnc.com Message-Id: <199701010125.RAA05987@freefall.freebsd.org> To: questions@freebsd.org Date: 31 Dec 1996 20:36:54 EDT Subject: DNS and other domain than mine Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.