]> mj.ucw.cz Git - nsc-5.git/blob - cf.dist/example.com
6a575517b8a9397538f67beb6df962d234671319
[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 ; The domain also has its own service record for Jabber, handled by the `mail' machine
15
16 SRV(jabber, tcp, 0, 1, 5269, mail)
17 SRV(xmpp-server, tcp, 0, 1, 5269, mail)
18 SRV(xmpp-client, tcp, 0, 1, 5222, mail)
19
20 ; Responsible person record (e-mail and reference to textual contact information)
21
22 RP(admin.example.com, text)
23
24 ; A couple of hosts
25
26 H(ns1, 10.0.0.1)
27 H(ns2, 10.1.0.1)
28 H(mail, 10.0.0.2)
29 H(name\.with\.dots, 10.0.0.3)
30
31 ; A web server with several aliases and MX records
32
33 H(www, 10.0.0.4)
34 ALIAS(fairytales, scifi, horror)
35 MX(0 mail.example.com)
36
37 ; TXT record
38
39 H(text)
40 TXT(Once upon a midnight dreary)
41 TXT(When I pondered weak and weary)
42
43 ; A subdomain called a.example.com with DNSSEC keys
44
45 D(a)
46 NS(ns1.example.com, ns2.example.com)
47 DS()
48
49 ; Another subdomain (b.example.com), but this time one of the nameservers
50 ; is inside, so we need to specify a glue record
51
52 D(b)
53 NS(ns.b.example.com, ns1.example.com, ns2.example.com)
54 GLUE(ns.b.example.com, 10.1.0.2)
55
56 ; And finally a subdomain for testing IPv6
57
58 D(ip6)
59 NS(ns1.example.com, ns2.example.com)
60
61 ; That's all, you will find the more advanced examples in cf/a.example.com