What is default dns_txt.conf ?

got2go

Verified User
Joined
Jun 12, 2004
Messages
8
Hello,

I tried modifying the dns_txt.conf file, but now I dont remember what it had after trying a few things (yes, always make a backup...).

Is the default this:
|DOMAIN|.="v=spf1 a mx ip4:|SERVER_IP| ?all"

After the changes all the SPF txt records are now gone (after the rewrite)

Nasically, I need them all back, but with a different IP address setup instead of SERVER_IP

Ideas ?

Thanks in advance!
 
A very old post coming from Google. This should have an answer ready. In directadmin 1.62+ the default is:

|DOMAIN|.="v=spf1 a mx ip4:|SERVER_IP||EXTRA_SPF||SPF_IPV6| ~all"
 
And if you ever want to make a change to that again, create a custom directory in the templates directory, then copy the dns_txt.conf into there and make your change there.
This way it will not be overwritten on an update.
 
Back
Top