Hi all
I am currently monitoring DKIM until I roll it out for all servers.
I wrote a script that checks if the public key in /etc/virtual really is configured in DNS.
My script sometimes notices discrepancy's between the public key in DNS and the public key configured in /etc/virtual after a while.
I think there is an issue when a client is restoring a backup.
The DKIM key get restored, but the old DKIM key is not updated in DNS.
Firstly, I am not sure why DirectAdmin is restoring an old DKIM key, and secondly why it is not updating it in DNS. I should investigate this further.
Maybe DirectAdmin should not restore a DKIM key if there already is a key active, or maybe it should not backup a key alltogether, I'm not sure.
The problem occurs in the following situation (I THINK):
1. An account has DKIM activated.
2. A backup has been made
3. The DKIM key gets renewed or refreshed (disable / enable DKIM)
4. A backup restore is requested
In this situation the old DKIM key is restored, but not updated in DNS.
Kind regards
Dries
I am currently monitoring DKIM until I roll it out for all servers.
I wrote a script that checks if the public key in /etc/virtual really is configured in DNS.
My script sometimes notices discrepancy's between the public key in DNS and the public key configured in /etc/virtual after a while.
I think there is an issue when a client is restoring a backup.
The DKIM key get restored, but the old DKIM key is not updated in DNS.
Firstly, I am not sure why DirectAdmin is restoring an old DKIM key, and secondly why it is not updating it in DNS. I should investigate this further.
Maybe DirectAdmin should not restore a DKIM key if there already is a key active, or maybe it should not backup a key alltogether, I'm not sure.
The problem occurs in the following situation (I THINK):
1. An account has DKIM activated.
2. A backup has been made
3. The DKIM key gets renewed or refreshed (disable / enable DKIM)
4. A backup restore is requested
In this situation the old DKIM key is restored, but not updated in DNS.
Kind regards
Dries