DKIM for all domains except which have one

Richard G

Verified User
Joined
Jul 6, 2008
Messages
12,773
Location
Maastricht
Hello.
I want to create DKIM records for all domains which do not have one yet.
And in this help section, I found this line:
Code:
echo "action=rewrite&value=dkim" >> /usr/local/directadmin/data/task.queue

So this looks fine, I just want to be sure it will only generate records on domains which do not have a dkim record yet, to prevent double DKIM TXT records in DNS.

Does it work this way? Or will this command create a DKIM record even if one is already present?
 
I just remembered I had a cancelled VPS (but not yet removed) from a friend of mine where I had access to and which already had a DKIM record.
Tested there, nothing wrong happened, so probably the dkim is either left alone or is overwritten.
No double entry's.

So I tested on our live VPS, no problem either. Doing the servers now. Also no double entry's.

So I've answered my own question, there will be no double entry's. :)

You can use that command too.
 
I just tested, too and it appears that existing DKIM records are not overwritten, either. :) This is good to know for those that use a remote DNS server and would have had to update the DKIM there if the records had been overwritten.
 
Back
Top