• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

DNS.SH and removing ptr records, how?

S

SupportDesk

Guest
Hello,

We have tried many ways to execute this command,
however all attempts at trying this have failed.

As an attempt to remove a PTR record on a domain with as subdomain test.domainname.tld. and domainname.tld.
Either of them fail to be removed.

DNS record: XX.XXX.XXX.XX PTR 24 test.domainname.tld.

Adding works.
./dns.sh -a domainname.tld -ptr test -subnet XX.XXX.XXX.XX/24

Removal does not work.
./dns.sh -d domainname.tld -ptr test -subnet XX.XXX.XXX.XX/24

We receive the following error:
Unable del record in DNS server: unable find DNS record

Please help us with this matter as we have to remove the PTR record on every domain on the server.

Kind regards,
SupportDesk
 
Maybe it would be easier to remove them from Plesk DB?

#mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

mysql> select * from dns_recs where type = 'PTR';

And here is the list of all PTR's.
 
Back
Top