Eu mantenho um servidor de nome único, mas tenho vários subdomínios, então uso o truque $ ORIGIN mencionado no O'Reilly DNS & Vincule o livro referenciado aqui .
/var/named/chroot/var/named/data/db.192.168.1
$ORIGIN .
$TTL 604800 ; 1 week
1.168.192.in-addr.arpa IN SOA ns.me.local. hostmaster.me.local. (
2000075001 ; serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
NS ns.me.local.
$ORIGIN 1.168.192.in-addr.arpa.
1 PTR mulder.me.local.
101 PTR flanders.me.local.
102 PTR lisa.me.local.
....
....
/var/named/chroot/var/named/data/db.me.local
$ORIGIN .
$TTL 604800 ; 1 week
me.local IN SOA ns.me.local. hostmaster.me.local. (
2000075000 ; serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
3600000 ; expire (5 weeks 6 days 16 hours)
86400 ; minimum (1 day)
)
NS ns.me.local.
A 192.168.1.1
MX 10 mail.me.local.
MX 20 me.local.
TXT "v=spf1 mx/24 ~all"
$ORIGIN me.local.
apu A 192.168.1.112
HINFO "VZ12" "VZ12"
MX 10 mail
TXT "v=spf1 redirect=me.local"
bart A 192.168.1.103
HINFO "VZ3" "VZ3"
MX 10 mail
TXT "v=spf1 redirect=me.local"
...
...
$INCLUDE "data/subdomain-somedom1.org.sub"
$INCLUDE "data/subdomain-somedom2.org.sub"
/var/named/chroot/var/named/data/subdomain-somedom1.org.sub
$ORIGIN somedom1.org.me.local.
blogs CNAME blogs.me.local.
/var/named/chroot/var/named/data/subdomain-somedom2.org.sub
$ORIGIN somedom2.org.me.local.
bender CNAME bender.me.local.
farnsworth CNAME farnsworth.me.local.
fry CNAME fry.me.local.
leela CNAME leela.me.local.