PowerDNS and PTR records

Prepare PowerDNS API access, verify your reverse DNS authority and test a PTR record.

4 min read Updated 2 October 2026

#Verify reverse DNS authority first

A PTR record maps an IP address to a domain name. Reverse DNS management for your IP block may sit with your provider. Before creating records on PowerDNS, ask your provider about reverse zone delegation or how records are managed.

#Prepare PowerDNS API access

Enable the HTTP API of PowerDNS Authoritative Server. Keep the API key on the server side only. Restrict access to the integration server that needs it, and use HTTPS for remote connections.

Technical details: local API configuration example

The example below enables the API on the local server only. A remote VMRobot connection also requires an HTTPS reverse proxy; on the proxy, apply an access rule for the calling server’s IP. Replace the placeholder key with a unique secret value.

pdns.conf exampleConfiguration
api=yes
api-key=<BENZERSIZ_API_ANAHTARI>
webserver=yes
webserver-address=127.0.0.1
webserver-port=8081
webserver-allow-from=127.0.0.1,::1

After the change, check the service status and access. API requests use the X-API-Key header. The official PowerDNS API documentation describes the configuration and endpoints.

#Set up the panel connection

  1. Open the PowerDNS integration settings in your VMRobot installation.

  2. Enter the HTTPS API address, the key and the server/zone details the package asks for.

  3. Run the connection test and check that the relevant reverse zone is visible.

  4. Verify that the IP pool matches this zone and that the user who will create records has permission to do so.

#Test a PTR record end to end

Choose a test IP and a server name that belong to you. For example, 203.0.113.10 and server.yourcompany.com are for illustration only; do not enter this example IP in a real configuration. The server name’s A/AAAA record must also point to the correct address.

Create the PTR record from the panel. Check that it was written to the correct reverse zone in PowerDNS, then query your real IP from outside your network.

Reverse DNS query — replace the IPTerminal
dig -x 203.0.113.10 +short

#If the record does not appear

SymptomCheck
API is unreachableHTTPS address, proxy access rule and the calling server’s network.
401 / 403API key and proxy authorisation.
Record exists in PowerDNS but not in query resultsProvider delegation, the correct reverse zone and DNS cache.
Wrong name is returnedIP-to-zone mapping and earlier PTR records.

A PTR change alone does not guarantee email delivery. This guide is complete when the authoritative DNS response for the real IP shows the name you set.