• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Reverse DNS records in /var/named/chroot/var in-addr.arpa files

Miguel_Tellería

Basic Pleskian
Platform: Plesk 12.0.18, CentOS 6, historically migrated from a Plesk 11 version.

Dear all,

When I do a dig -x <IP_address> from the server I get several outdated results due to PTR bind files (nnn-nnn-nnn.in-addr.arpa) that sit on the /var/named/chroot/var directory and are referenced from the /var/named/chroot/etc/named.conf file.

Looking in the psa database, I only find the PTR record for the FQDN of the machine in the table dns_rec. The other records do not appear even when editing the DNS zones that they reference to in the panel.

I would like to know how can I remove those records:
- Can I just remove them from the named.conf file and erase the files?
- is there a CLI tool to repair this?

Thank you n advance for your suggestions.
 
Look at dns utility:

# plesk bin dns --help

You can try to restore the default resource records for a domain's zone based on the Plesk server DNS zone template with --reset option. After that you can modify zone as it is required.
 
Thanks Igor for your suggestion, but at the end I removed the files and removed the in-addr.arpa zones in named.conf ignoring the warnings of "DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED"

I left the zone with the FQDN though since it appears in the database and it seems to be low-level hardcoded into Plesk.

So far Plesk has respected my modifications by no adding those removed zones again.

I tried later your approach (resetting the zone) but it didn't do any change. It restored the template alright but the PTR addresses didn't come up (fortunately).

So I will stay like this for the moment.
 
Back
Top