Use the Add Reverse DNS zone API for adding the reverse dns zone to the PowerDNS server's database. These reverse DNS zone allow resolution of the IP address to a valid domain name. Both IPv4 and IPv6 type of zone records can be added using this API. The API response will contain "done" as "true" after the record is added successfully.
HTTP Request
Parameters
Name
Method
Value
Description
Required
act
GET
rdns
The action will add a rdns zone
Yes
zone_name
POST
text
We specify the zone name here, refer below table for valid values
Yes
ns1
POST
text
This takes the nameserver value
Yes
ns2
POST
text
This takes the nameserver value
Yes
ns3
POST
text
This takes the nameserver value
No
ns4
POST
text
This takes the nameserver value
No
pdnsid
POST
Int
This specifies the pdnsid that has to be included with the rdns