I've a zone example.tld configured with a wildcard CNAME (1&1), A records (custom & 1&1), MX records (1&1), and a subzone record (NS) pointing to ns1.xname.org.
I've configured the subzone subzone.example.tld conatining a MX record pointing to a NAS. I've added a sub-zone record (not sure if necessary)
However, when I dig to it using dig @ns1.xname.org subzone.example.tld in mx, I obtain MX records of example.tld.
How can I fix my configuration to have subzone MX records taken in account ?
I've tried dig @ns1.xname.org subzone.example.tld in ns with negative results :
;; ANSWER SECTION:
subzone.example.tld. 86400 IN CNAME example.tld.
example.tld. 86400 IN NS ns2.xname.org.
example.tld. 86400 IN NS ns0.xname.org.
example.tld. 86400 IN NS ns1.xname.org.
Zone configuration (example.tld):
$TTL 86400 ; TTL par défaut
example.tld. IN SOA ns0.xname.org. . (
1234567891 ; numéro de série
10800 ; Intervalle de rafraichissement
3600 ; Intervalle de renouvellement de tentative
604800 ; Délai d'expiration
10800 ; TTL pour les réponses négatives
)
$ORIGIN example.tld.
IN NS ns1.xname.org.
IN NS ns0.xname.org.
IN NS ns2.xname.org.
10 IN MX 0 mx00.1and1.fr.
10 IN MX 1 mx01.1and1.fr.
example.tld. IN A 12.34.56.67
* IN CNAME example.tld.
subzone IN NS ns1.xname.org.
Subzone (subzone.example.tld)
$TTL 86400 ; TTL par défaut
subzone.example.tld. IN SOA ns0.xname.org. . (
1234567890 ; numéro de série
10800 ; Intervalle de rafraichissement
3600 ; Intervalle de renouvellement de tentative
604800 ; Délai d'expiration
10800 ; TTL pour les réponses négatives
)
$ORIGIN subzone.example.tld.
IN NS ns2.xname.org.
IN NS ns0.xname.org.
IN NS ns1.xname.org.
IN MX 0 mx.subzone.example.tld.
mx IN A 1.2.3.4
dig @ns1.xname.org subzone.foo.tld in nswith negative results (see. the updated question for details). The zone and sub zone are managed by the same NS (xname.org). – ybart Dec 27 '11 at 23:35