##
# This is your main data file.
# This example file shows the sort of things that you put in here.
# But you will need to replace the names and addresses with real ones.
##

# This is the location of not machine-local not site-local clients.
%ex

##
# Delegation apex of example.com
##
.example.com::a:::ex
.example.com::a.ns.backup.example.org:::ex
# Site-wide, the delegation goes to the site-wide address of private content DNS server.
.example.com:192.168.53.1:a:::si
# Internally on a machine, the delegation goes to the private root content DNS server on the machine.
.example.com:127.53.0.1:a:::lo

##
# Public example.com names
##
+example.com:192.0.2.60:::ex
S_http._tcp.example.com:192.0.2.60:www.example.com:80:10:20:::ex
S_http._tcp.example.com:2001_db8_0_0_1_1_1_1:www.example.com:80:10:20:::ex
S_https._tcp.example.com:192.0.2.60:www.example.com:443:10:20:::ex
S_https._tcp.example.com:2001_db8_0_0_1_1_1_1:www.example.com:443:10:20:::ex
S_ftp._tcp.example.com:192.0.2.60:ftp.example.com:21:10:20:::ex
S_ftp._tcp.example.com:2001_db8_0_0_1_1_1_1:ftp.example.com:21:10:20:::ex
S_gopher._tcp.example.com:192.0.2.60:gopher.example.com:70:10:20:::ex
S_gopher._tcp.example.com:2001_db8_0_0_1_1_1_1:gopher.example.com:70:10:20:::ex
S_gemini._tcp.example.com:192.0.2.60:gemini.example.com:1965:10:20:::ex
S_gemini._tcp.example.com:2001_db8_0_0_1_1_1_1:gemini.example.com:1965:10:20:::ex
S_nicname._tcp.example.com:192.0.2.60:nicname.example.com:43:0:0:::ex
S_nicname._tcp.example.com:2001_db8_0_0_1_1_1_1:nicname.example.com:43:0:0:::ex
# How to publish the unavailability of SIP or SMTP services.
S_sip._udp.example.com::.:5060:0:0:::ex
S_smtp._tcp.example.com::.:25:0:0:::ex
S_submission._tcp.example.com::.:587:0:0:::ex
@example.com::.::::ex
@*.example.com::.::::ex

##
# Intranet example.com names
##
+example.com:127.53.0.1:::lo
+example.com:192.168.53.1:::si
# If you have Active Directory, a subdomain like this is strongly recommended.
.lan.example.com:127.53.0.1::::lo
.lan.example.com:192.168.53.1::::si
.self.example.com:127.53.0.1::::lo
# Some very advanced BBC Micro owners who have Ethernet, IPv4, and IPv6.
=fred.lan.example.com:192.168.1.2:::si
=fred.lan.example.com:192.168.1.2:::lo
=fred.lan.example.com:fec0_6502_0_0_1979_0_0_2:::lo
=fred.lan.example.com:fec0_6502_0_0_1979_0_0_2:::si
=jim.lan.example.com:192.168.1.3:::lo
=jim.lan.example.com:192.168.1.3:::si
=jim.lan.example.com:fec0_6502_0_0_1979_0_0_3:::lo
=jim.lan.example.com:fec0_6502_0_0_1979_0_0_3:::si
=sheila.lan.example.com:192.168.1.4:::lo
=sheila.lan.example.com:192.168.1.4:::si
=sheila.lan.example.com:fec0_6502_0_0_1979_0_0_4:::si
=sheila.lan.example.com:fec0_6502_0_0_1979_0_0_4:::si
# services
S_http._tcp.lan.example.com:127.0.0.1:www.self.example.com:80:10:20:::lo
S_http._tcp.lan.example.com:192.168.2.1:www.lan.example.com:80:10:20:::si
S_https._tcp.lan.example.com:127.0.0.1:www.self.example.com:443:10:20:::lo
S_https._tcp.lan.example.com:192.168.2.1:www.lan.example.com:443:10:20:::si
S_ftp._tcp.lan.example.com:127.0.0.1:ftp.self.example.com:21:10:20:::lo
S_ftp._tcp.lan.example.com:192.168.2.1:ftp.lan.example.com:21:10:20:::si
S_gopher._tcp.lan.example.com:127.0.0.1:gopher.self.example.com:70:10:20:::lo
S_gopher._tcp.lan.example.com:192.168.2.1:gopher.lan.example.com:70:10:20:::si
S_gemini._tcp.lan.example.com:127.0.0.1:gemini.self.example.com:1965:10:20:::lo
S_gemini._tcp.lan.example.com:192.168.2.1:gemini.lan.example.com:1965:10:20:::si
S_nicname._tcp.lan.example.com:127.0.0.1:nicname.self.example.com:43:10:20:::lo
S_nicname._tcp.lan.example.com:192.168.2.1:nicname.lan.example.com:43:10:20:::si
S_sip._udp.lan.example.com:192.168.2.1:sip.self.example.com:5060:0:0:::lo
S_sip._udp.lan.example.com:192.168.2.1:sip.lan.example.com:5060:0:0:::si
S_smtp._tcp.lan.example.com:192.168.2.1:mail.self.example.com:25:0:0:::lo
S_smtp._tcp.lan.example.com:192.168.2.1:mail.lan.example.com:25:0:0:::si
S_submission._tcp.lan.example.com:192.168.2.1:mail.self.example.com:587:0:0:::lo
S_submission._tcp.lan.example.com:192.168.2.1:mail.lan.example.com:587:0:0:::si
@lan.example.com:192.168.2.1:mail.self.example.com::::si
@lan.example.com:192.168.2.1:mail.lan.example.com::::lo
@*.lan.example.com:192.168.2.1:mail.self.example.com::::si
@*.lan.example.com:192.168.2.1:mail.lan.example.com::::lo
S_ldap._tcp.lan.example.com:127.0.0.1:dc.self.example.com:80:10:20:::lo
S_ldap._tcp.lan.example.com:192.168.2.1:dc.lan.example.com:80:10:20:::si

##
# The private content DNS server available on a site-local IP address.
##
# Site-local clients see the private root content DNS server on this IP address.
.:192.168.53.1:a:::si
# We shortcut reverse lookups of the server's own site-local IP address(es).
.1.53.168.192.in-addr.arpa:192.168.53.1:a:::si

##
# Hairpinning
##
# If any machine ends up hairpinning, this is considered site-wide access.
%si:192.0.2.60
# We shortcut reverse lookups of the hairpin IP address(es).
.60.2.0.192.in-addr.arpa:192.0.2.60:a:::si

##
# Split-horizon prune-and-graft points
##
# Copies of the pre-supplied apices, but for site-local clients using a site-local address.
.local:192.168.53.1:a:::si
.test:192.168.53.1:a:::si
.example:192.168.53.1:a:::si
.internal:192.168.53.1:a:::si
.intranet:192.168.53.1:a:::si
.corp:192.168.53.1:a:::si
.home:192.168.53.1:a:::si
.lan:192.168.53.1:a:::si
.home.arpa:192.168.53.1:a:::si

##
# Reverse lookups
##
# Copies of the pre-supplied apices, but for site-local clients publishing the site-local address of the content DNS server.
.127.in-addr.arpa:192.168.53.1:a:::si
.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa:192.168.53.1:a:::si
.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa:192.168.53.1:a:::si
.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa:192.168.53.1:a:::si
.f.7.2.0.0.2.ip6.arpa:192.168.53.1:a:::si
.e.f.9.a.2.0.0.2.ip6.arpa:192.168.53.1:a:::si
.e.2.0.0.2.ip6.arpa:192.168.53.1:a:::si
.D.F.ip6.arpa:192.168.53.1:a:::si
.8.E.F.ip6.arpa:192.168.53.1:a:::si
.9.E.F.ip6.arpa:192.168.53.1:a:::si
.A.E.F.ip6.arpa:192.168.53.1:a:::si
.B.E.F.ip6.arpa:192.168.53.1:a:::si
.C.E.F.ip6.arpa:192.168.53.1:a:::si
.D.E.F.ip6.arpa:192.168.53.1:a:::si
.E.E.F.ip6.arpa:192.168.53.1:a:::si
.F.E.F.ip6.arpa:192.168.53.1:a:::si
.0.in-addr.arpa:192.168.53.1:a:::si
.10.in-addr.arpa:192.168.53.1:a:::si
.254.169.in-addr.arpa:192.168.53.1:a:::si
.16.172.in-addr.arpa:192.168.53.1:a:::si
.17.172.in-addr.arpa:192.168.53.1:a:::si
.18.172.in-addr.arpa:192.168.53.1:a:::si
.19.172.in-addr.arpa:192.168.53.1:a:::si
.20.172.in-addr.arpa:192.168.53.1:a:::si
.253.12.in-addr.arpa:192.168.53.1:a:::si
.22.172.in-addr.arpa:192.168.53.1:a:::si
.23.172.in-addr.arpa:192.168.53.1:a:::si
.24.172.in-addr.arpa:192.168.53.1:a:::si
.25.172.in-addr.arpa:192.168.53.1:a:::si
.26.172.in-addr.arpa:192.168.53.1:a:::si
.27.172.in-addr.arpa:192.168.53.1:a:::si
.28.172.in-addr.arpa:192.168.53.1:a:::si
.29.172.in-addr.arpa:192.168.53.1:a:::si
.30.172.in-addr.arpa:192.168.53.1:a:::si
.353.12.in-addr.arpa:192.168.53.1:a:::si
.2.0.192.in-addr.arpa:192.168.53.1:a:::si
.168.192.in-addr.arpa:192.168.53.1:a:::si
.255.255.255.255.in-addr.arpa:192.168.53.1:a:::si
