Date: 31 Dec 1996 20:36:54 EDT From: shadow@wnc.com To: questions@freebsd.org Subject: DNS and other domain than mine Message-ID: <199701010125.RAA05987@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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?199701010125.RAA05987>
