We have several Plesk servers and many domains.
One Plesk server normally handles domains with DNS-control (though not all) and the others have foreign DNS-control.
Today I changed the MX-record of a domain on the Plesk-server and found out a bit later that this server didn't have DNS-control. Normally I would have turned DNS-control off on this server, but apparently I forgot this when I initially configured this domain.
Now I want to write a little script in bash that checks if DNS-control is turned off if the DNS is foreign.
This would have been easy if the CLI-utility /usr/local/psa/bin/dns --info <domain> would give me the info if DNS-control is turned off. I'm able to turn it off or on with this utility, but I can't see its current status.
When DNS-control is turned off for a specific domain it will still give the records it would have if it had control.
The utility shouldn't do this.
Could this be changed?
Anyone knows how I can query the 'psa' database for this setting?
One Plesk server normally handles domains with DNS-control (though not all) and the others have foreign DNS-control.
Today I changed the MX-record of a domain on the Plesk-server and found out a bit later that this server didn't have DNS-control. Normally I would have turned DNS-control off on this server, but apparently I forgot this when I initially configured this domain.
Now I want to write a little script in bash that checks if DNS-control is turned off if the DNS is foreign.
This would have been easy if the CLI-utility /usr/local/psa/bin/dns --info <domain> would give me the info if DNS-control is turned off. I'm able to turn it off or on with this utility, but I can't see its current status.
When DNS-control is turned off for a specific domain it will still give the records it would have if it had control.
The utility shouldn't do this.
Could this be changed?
Anyone knows how I can query the 'psa' database for this setting?
Last edited: