usul82

Registered
Dec 12, 2006
1
0
151
Hi,

i have cpanel based server, and have several domains. Now I want to add spf support in dns zones for all domains on the servers. I edited templates, but I don`t have idea how to rewrite domains that were created before changes to template. Probably there is some sort of script, that will do this, but I can`t find it.

Please help me if You know/have such script.

Best regards,
Bart.
 

anzbevrct

Registered
Jan 5, 2007
1
0
151
Hi,

I am also trying to do this, but I don't see any button to do what you guys describe in my cPanel.

Therefore my host granted me SSH access, but I have no idea what commands I have to exicute there to add the SPF string to my dns TXT file...

Anyone?
 

freedman

Well-Known Member
Feb 13, 2005
314
6
168
Works ok, but, only for new domains.
did you change the serial number in your .db file?

if the serial number isn't incremented, then named wont bother reading the new one.. and any downline nameservers will see the serial number the same and assume there are no changes.

generally the serial number is in yyyymmddXX where xx is the number for that day.
I think that's the cpanel default numbering.. of course, you're welcome to start at 1 and just increment them, but that'll only work with new domains :P