We use "server_dns" to configure a default DNS zonefile for new domains. I believe there is a shortcoming in this tool. The separator for this utility is the semicolon (. This happens to be the same separator as for DKIM keys. You guessed it, I need to add a DKIM key to the default zonefile template.
The command:
Does not work, as Plesk believes the semicolons for the TXT DKIM field are separators for other records. I have been unable to find a workaround. Is this a bug?
Perhaps adding a flag to define the separator key is a wise idea?
I was also wondering if it is expected behavior that Plesk does not add the domain key to DNS once a DNS zonefile has been reset to default. Thus, when one resets its DNS zonefile to the system default DKIM no longer works.
The command:
Code:
/opt/psa/bin/server_dns --set "NS,,ns1.example.com;NS,,ns2.example.com;TXT,default_domainkey,v=DKIM1; k=rsa; t=y; p=keyhere;"
Does not work, as Plesk believes the semicolons for the TXT DKIM field are separators for other records. I have been unable to find a workaround. Is this a bug?
Perhaps adding a flag to define the separator key is a wise idea?
I was also wondering if it is expected behavior that Plesk does not add the domain key to DNS once a DNS zonefile has been reset to default. Thus, when one resets its DNS zonefile to the system default DKIM no longer works.
Last edited: