]> mj.ucw.cz Git - nsc-5.git/blob - cf.dist/example.com
b5e900c68df21af2f3ef4ba37cd97463f8ba3f0f
[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
30 ; A web server with several aliases and MX records
31
32 H(www, 10.0.0.3)
33 ALIAS(fairytales, scifi, horror)
34 MX(0 mail.example.com)
35
36 ; TXT record
37
38 H(text)
39 TXT(Once upon a midnight dreary)
40 TXT(When I pondered weak and weary)
41
42 ; A subdomain called a.example.com with DNSSEC keys
43
44 D(a)
45 NS(ns1.example.com, ns2.example.com)
46 DS()
47
48 ; Another subdomain (b.example.com), but this time one of the nameservers
49 ; is inside, so we need to specify a glue record
50
51 D(b)
52 NS(ns.b.example.com, ns1.example.com, ns2.example.com)
53 GLUE(ns.b.example.com, 10.1.0.2)
54
55 ; And finally a subdomain for testing IPv6
56
57 D(ip6)
58 NS(ns1.example.com, ns2.example.com)
59
60 ; That's all, you will find the more advanced examples in cf/a.example.com