Problem with interfacing YP and BIND

Jon A. Tankersley apctrc!zjat02 at uunet.uu.net
Sun Feb 19 10:06:35 AEST 1989


You need yet another patch.  4.0.1 fixes some problems with named, but
there are others.  ypxfr for one.

I agree on the setup of named with yp.  I have been struggling with it my
self prior to connecting to the outside world (slow moving wheels of the
bureaucracy).  It isn't easy.

Someone asked about the setup of a local nameserver as the root.

'tis easy....  Once you know the tricks.  Got this far with some help from
bind-request at Berkeley.  Sun named is compatible with bind 4.8.

named.boot
__________
;
; type          domain                  source file or host
;
directory       /etc/named.dir
domain          TRC.AMOCO.COM
primary         .                       root.zone
primary         TRC.AMOCO.COM           named.hosts
primary         AMOCO.COM               amoco.zone
primary         230.129.in-addr.arpa    hosts.rev
cache           .                       named.ca

root.zone
__________
.       IN      SOA     TRC.AMOCO.COM. postmaster.trc.amoco.com. (
		1       ;Serial
		3600    ;Refresh
		300     ;Retry
		3600000 ;Expire
		3600)   ;Minimum
		518400  NS      CR1.TRC.AMOCO.COM
CR1.TRC.AMOCO.COM.      518400  A       129.230.11.5
TRC.AMOCO.COM.  518400  NS      CR1.TRC.AMOCO.COM


named.ca
__________
;

.                       99999999        IN      NS      cr1.amoco.com.
			99999999        IN      NS      ncc.amoco.com.
.                       99999999        IN      NS      cr1.trc.amoco.com.
			99999999        IN      NS      ncc.trc.amoco.com.
			99999999        IN      NS      gpsb-gw.trc.amoco.com.
;
;
;
cr1.trc.amoco.com.      99999999        IN      A       129.230.11.5
cr1.amoco.com.          99999999        IN      A       129.230.11.5
ncc.trc.amoco.com.      99999999        IN      A       129.230.11.1
gpsb-gw.trc.amoco.com.  99999999        IN      A       129.230.11.9

resolv.conf
__________
# Domain name resolver configuration file
#
domain trc.amoco.com
# first try ourselves
#nameserver 127.0.0.1
# cr1.trc.amoco.com
nameserver 129.230.11.5
# BRL-AOS
#nameserver 128.20.1.0
#nameserver 192.5.22.82
# SRI-NIC (does not recurse)
#nameserver 10.0.0.51
#nameserver 26.0.0.73
#
# Prefer these networks over other local ones:
address 129.230.11.0


named.hosts
__________
@       IN      SOA     CR1.TRC.AMOCO.COM. postmaster.trc.amoco.com. (
		1       ;Serial
		3600    ;Refresh
		300     ;Retry
		3600000 ;Expire
		3600)   ;Minimum
	IN      NS      CR1.TRC.AMOCO.COM.
	IN      NS      ncc.trc.amoco.com.
	IN      A       129.230.11.5
	IN      HINFO   Sun-3/260       UNIX-SunOS-4.0
	IN      WKS     129.230.11.5 UDP domain tftp time echo
	IN      WKS     129.230.11.5 TCP ( echo discard systat daytime netstat
			ftp-data ftp telnet smtp time name
			whois domain hostnames sunrpc tftp
                        rje finger link supdup uucp-path
			nntp ntp whois
			rje )
*.trc.amoco.com.        MX      10      apctrc.trc.amoco.com.
localhost               IN  A           127.0.0.1
localhost               IN  HINFO       Sun-3/260       UNIX-SunOS-4.0
....

hosts.rev
__________
1.0.0.127.in-addr.arpa.         IN  PTR localhost.
5.11.230.129.in-addr.arpa       IN  PTR cr1.
....
-- 



More information about the Comp.sys.sun mailing list