• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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