1 ; An example domain table for the NSC
3 ; Various mandatory things required by RFC 1912, section 4.1
7 REVERSE(127.0.0, localhost)
9 ; A pretty normal example domain (we act as a primary nameserver for it)
13 ; It also has a couple of sub-domains and one of them resides on another server
15 PRIMARY(a.example.com)
16 SECONDARY(b.example.com, 10.0.0.1)
18 ; Here are reverse delegations for two networks. NSC automatically creates
19 ; the PTR records from A records in all mentioned zones. See cf/{0,1}.0.10.
21 REVERSE(10.0.0, example.com, a.example.com)
22 REVERSE(10.1.0, example.com, a.example.com, ip6.example.com)
24 ; You can even have reverse zones for larger networks
26 REVERSE(10.2, a.example.com)
28 ; Here are the examples of classless reverse delegation using subdomains
29 ; and PTR records as recommended by RFC 2317. We use the subdomain names
30 ; recommended by the RFC, however, this is not fixed anywhere and you can
31 ; use any names you like (or your ISP likes).
33 ; In the 10.1.0 network, we define a classless delegation (see cf/0.1.10),
34 ; but we also want to run a secondary server for the subdomain. As usually,
35 ; the REV macro is handy for constructing a reverse domain name.
37 SECONDARY(REV(10.1.0.128/25), 10.1.0.2)
39 ; And vice versa: we are delegated 10.3.0.64/26, so we want to create
40 ; the corresponding subdomain.
42 REVERSE(10.3.0.64/26, a.example.com)
44 ; The final challenge: a subdomain with both IPv4 and IPv6 records
45 ; together with the corresponding reverse records (in IPv6 mode, all
46 ; networks are always accompanied by a netmask).
47 ; See cf/ip6.example.com and cf/4.3.2.1.0.c.e.f for details
49 PRIMARY(ip6.example.com)
50 REVERSE(fec0:1234::/32, ip6.example.com)