Plan 9 from Bell Labs’s /usr/web/sources/contrib/mospak/misc/local

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#
#  files comprising the database, use as many as you like, see ndb(6)
#
database=
	file=/lib/ndb/local
	file=/lib/ndb/common

auth=sources.cs.bell-labs.com authdom=outside.plan9.bell-labs.com

#
#  because the public demands the name localsource
#
ip=127.0.0.1 sys=localhost dom=localhost

#
#  entries defining the dns root.  these will be overridden by any
#  authentic info obtained from the root.
#  Verified against IANA 2026-05-03.
#
dom=
	ns=A.ROOT-SERVERS.NET
	ns=B.ROOT-SERVERS.NET
	ns=C.ROOT-SERVERS.NET
	ns=D.ROOT-SERVERS.NET
	ns=E.ROOT-SERVERS.NET
	ns=F.ROOT-SERVERS.NET
	ns=G.ROOT-SERVERS.NET
	ns=H.ROOT-SERVERS.NET
	ns=I.ROOT-SERVERS.NET
	ns=J.ROOT-SERVERS.NET
	ns=K.ROOT-SERVERS.NET
	ns=L.ROOT-SERVERS.NET
	ns=M.ROOT-SERVERS.NET
dom=A.ROOT-SERVERS.NET ip=198.41.0.4
dom=B.ROOT-SERVERS.NET ip=170.247.170.2
dom=C.ROOT-SERVERS.NET ip=192.33.4.12
dom=D.ROOT-SERVERS.NET ip=199.7.91.13
dom=E.ROOT-SERVERS.NET ip=192.203.230.10
dom=F.ROOT-SERVERS.NET ip=192.5.5.241
dom=G.ROOT-SERVERS.NET ip=192.112.36.4
dom=H.ROOT-SERVERS.NET ip=198.97.190.53
dom=I.ROOT-SERVERS.NET ip=192.36.148.17
dom=J.ROOT-SERVERS.NET ip=192.58.128.30
dom=K.ROOT-SERVERS.NET ip=193.0.14.129
dom=L.ROOT-SERVERS.NET ip=199.7.83.42
dom=M.ROOT-SERVERS.NET ip=202.12.27.33

#
#  your domain if you are a dns server for your domain
#
dom=baddcafe.com soa=
	refresh=3600 ttl=3600
	ns=ns1.baddcafe.com
	ns=ns2.baddcafe.com
	mb=postmaster@baddcafe.com

#
#  define your network.  dns, ntp, time, and wins are servers that can
#  be returned by dhcp. auth and fs are the default plan9 authentication
#  and name servers.  change the addresses to whatever makes sense in your
#  world.
#
#  each dnsdomain is a domain to search through when resolving
#  dnsnames
#
ipnet=baddcafe ip=192.168.88.0 ipmask=255.255.255.0
	authdom=baddcafe
	auth=cube
	cpu=cube
	fs=cube
	dns=192.168.88.11
	dnsdomain=baddcafe.com
	ipgw=192.168.88.1

#
#  define a few systems.  if they support the il protocol, say so.  otherwise
#  the connection server will assume they just know tcp and udp.
#	- the sys= tuple specifies a local nickname for the machine.
#	- unless a bootf= tuple exists, dhcp will not answer boot requests for it
#
ip=192.168.88.1 sys=gate dom=gate.baddcafe.com

ip=192.168.88.11 sys=cube ether=<CUBE_MAC>
	dom=cube.baddcafe.com

ip=192.168.88.12 sys=gnot ether=<GNOT_MAC>
	dom=gnot.baddcafe.com

#
#  records returned to resolvers outside the lan.  the ns1 and ns2
#  entries are referenced by the soa above and must match the glue
#  records held by the registrar.
#
ip=<PUBLIC_IP> dom=baddcafe.com
ip=<PUBLIC_IP> dom=www.baddcafe.com
ip=<PUBLIC_IP> dom=ns1.baddcafe.com
ip=<PUBLIC_IP> dom=ns2.baddcafe.com

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.