]> mj.ucw.cz Git - nsc-5.git/blob - cf.dist/example.com
Added examples.
[nsc-5.git] / cf.dist / example.com
1 ; Domain configuration file for example.com
2
3 ; The SOA record
4
5 SOA(example.com)
6
7 ; Other records for the domain itself (NSC remembers the name as it
8 ; does with host names): name servers and mail exchangers with different
9 ; priorities.
10
11 NS(ns1.example.com, ns2.example.com)
12 MX(0 mail.example.com, 10 smtp.example.net)
13
14 ; A couple of hosts
15
16 H(ns1, 10.0.0.1)
17 H(ns2, 10.1.0.1)
18 H(mail, 10.0.0.2)
19
20 ; A web server with several aliases and MX records
21
22 H(www, 10.0.0.3)
23 ALIAS(fairytales, scifi, horror)
24 MX(0 mail.example.com)
25
26 ; A subdomain called a.example.com
27
28 D(a)
29 NS(ns1.example.com, ns2.example.com)
30
31 ; Another subdomain (b.example.com), but this time one of the nameservers
32 ; is inside, so we need to specify a glue record
33
34 D(b)
35 NS(ns.b.example.com, ns1.example.com, ns2.example.com)
36 GLUE(ns.b.example.com, 10.1.0.2)
37
38 ; And finally a subdomain for testing IPv6
39
40 D(ip6)
41 NS(ns1.example.com, ns2.example.com)
42
43 ; That's all, you will find the more advanced examples in cf/a.example.com