• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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