MX records

wijtec

New member
Joined
Feb 13, 2012
Messages
4
Hello,

We are having the following problem on more of our servers.

When creating a new domain it fails to create the MX records out of the custom template. The other DNS records are created without any problem from the dns template.

When you delete the domain and create it again everything works fine. So the second time it create the MX records from the template without any problems. But i always fails the first time.

Somebody knows this problem?


Best Regards,

Marc
Wijtec
 
Hello,

Your request is too ambiguous. I think, you should show your DNS templates, and a whole DNS zone, as you get it after initial creation, then the same zone after re-creation. So we could start from anything...
 
You know that mx records use a different template right? dns_mx.conf not dns_a.conf
 
Thanks,

@scsi,Yes we know :)

i will post the template and zone file as soon as possible.
 
DA version: 1.40.3

DNS_MX.conf

mx1.onlinesystemen.nl.=10
mx2.onlinesystemen.nl.=20

DNS_A.conf

localhost=127.0.0.1
|*if IS_IPV6!="yes"|
|DOMAIN|.=|IP|
mail=|IP|
pop=|IP|
www=|IP|
ftp=|IP|
smtp=|IP|
|*endif|
webmail=|IP|


Test Domain: mxrecordtest.nl

zone file after creating first time:

$TTL 14400
@ IN SOA ns1.onsweb.nl. hostmaster.mxrecordstest.nl. (
2012022402
14400
3600
1209600
86400 )

mxrecordstest.nl. 14400 IN NS ns1.onsweb.nl.
mxrecordstest.nl. 14400 IN NS ns14.onsweb.nl.

ftp 14400 IN A 91.213.112.77
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 91.213.112.77
mxrecordstest.nl. 14400 IN A 91.213.112.77
pop 14400 IN A 91.213.112.77
smtp 14400 IN A 91.213.112.77
webmail 14400 IN A 91.213.112.77
www 14400 IN A 91.213.112.77




mxrecordstest.nl. 14400 IN TXT "v=spf1 a mx ip4:91.213.112.77 ~all"

localhost 14400 IN AAAA ::1




Zone file after deleting the domain and add it again


$TTL 14400
@ IN SOA ns1.onsweb.nl. hostmaster.mxrecordstest.nl. (
2012022400
14400
3600
1209600
86400 )

mxrecordstest.nl. 14400 IN NS ns1.onsweb.nl.
mxrecordstest.nl. 14400 IN NS ns14.onsweb.nl.

ftp 14400 IN A 91.213.112.77
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 91.213.112.77
mxrecordstest.nl. 14400 IN A 91.213.112.77
pop 14400 IN A 91.213.112.77
smtp 14400 IN A 91.213.112.77
webmail 14400 IN A 91.213.112.77
www 14400 IN A 91.213.112.77

mxrecordstest.nl. 14400 IN MX 10 mx1.onlinesystemen.nl.
mxrecordstest.nl. 14400 IN MX 20 mx2.onlinesystemen.nl.



mxrecordstest.nl. 14400 IN TXT "v=spf1 a mx ip4:91.213.112.77 ~all"

localhost 14400 IN AAAA ::1
 
Back
Top