Bem, o que eu fiz foi: eu criei o arquivo default.db
que eu incluí em cada zona master. Por isso, named.conf
é assim:
# [..]
zone "hotelpublisher.com"
{
type master;
file "/var/named/default.db";
};
zone "guubo.com"
{
type master;
file "/var/named/default.db";
};
E default.db
assim:
$ttl 14400
@ IN SOA ns1.hotelpublisher.com. [email protected]. (
2011041105; Serial in YYYYMMDDXX (XX is increment)
10800; refresh seconds
3600; retry
604800; expire
38400; minimum
);
@ IN A 77.79.10.25
@ IN NS ns1.hotelpublisher.com.
@ IN NS ns2.hotelpublisher.com.
@ IN MX 1 aspmx.l.google.com.
@ IN MX 5 alt1.aspmx.l.google.com.
@ IN MX 5 alt2.aspml.l.google.com.
@ IN MX 10 aspmx2.googlemail.com.
@ IN MX 10 aspmx3.googlemail.com.
www IN CNAME @
mail IN CNAME ghs.google.com.
@ TXT "v=spf1 a mx ptr mx:aspmx.googlemail.com include:aspmx.googlemail.com ~all"
Isso removeu muita redundância. Se houver algum comentário, sinta-se à vontade para compartilhar.