Problem with custom DNS scripts

Arjo

New member
Joined
Oct 5, 2016
Messages
1
Hi all,

I am trying to setup the following:

When a user has package "web_office365", on creation of the domain give a specific set of dns records.

I am doing that via a custom dns_mx.conf in the templates/custom directory.

Currently i have the following:
Code:
|*if PACKAGE="web_office365"|
|DOMAIN|.=0 xxxx.mail.protection.outlook.com.
|*endif|

However, this results in the following DNS record:
Code:
test4.com.	14400	IN	MX	0 xxxx.mail.protection.outlook.com. test4.com.


Am i doing something wrong, or is this a undocumented thing in directadmin for adding the domain at the end?


Kind regards,
 
Hello,

Try:

Code:
|*if PACKAGE="web_office365"|
xxxx.mail.protection.outlook.com.=0
|*endif|

and let us know your results.
 
Back
Top