The DNS audit tools perform a simple audit of both forward and reverse DNS.
The tool set includes UI, API end points, and a command line interface. The audit results include the DNS as found in the 6connect ProVision database, the results from a resolver, and if there is a conflict in these two pieces of information.
1) Access the UI version of the Tool by going to the desired block in IPAM Manage, click on the Action Menu (wrench), then select "DNS Audit (Alpha):
This takes you to the DNS Audit page for the block.
2) From there, select the "Audit Forward DNS" or "Audit Reverse DNS" buttons to provide a list of IPs, the Reverse Values, Conflict Status, and Resolved Host(s).
Access the tools via the API through the use of:
api/v1/auditDNS/execute.php
api/v1/auditDNS/getStatus.php
Examples:
api/v1/api.php?target=auditDNS&action=execute&type=forward&block=209.183.188/28&jobId=1424218758
api/v1/api.php?target=auditDNS&action=execute&type=reverse&block=209.183.188/28&jobId=1424218758
Audit DNS - Execute | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | api/v1/api.php?target=auditDNS&action=execute | ||||||||||||||||
Description | Audits a DNS CIDR block | ||||||||||||||||
Returns | Examples:
| ||||||||||||||||
Required Parameters |
| ||||||||||||||||
Example URL | api/v1/api.php?target=auditDNS&action=execute&type=forward&block=209.183.188/28&jobId=1424218758 api/v1/api.php?target=auditDNS&action=execute&type=reverse&block=209.183.188/28&jobId=1424218758 |
Audit DNS - getStatus | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | api/v1/api.php?target=auditDNS&action=getStatus | ||||||||||||
Description | Displays the audit results table information | ||||||||||||
Returns | Examples:
| ||||||||||||
Required Parameters |
| ||||||||||||
Example URL | /api/v1/api.php?target=auditDNS&action=getStatus&block=209.183.188/28&jobId=1424218758 |
To access the Audit Tools via the command line:
For Forward DNS: "php audit_forward_dns.php -b " plus the CIDR you wish to audit
Example:
php audit_forward_dns.php -b 209.183.188/28
For Reverse DNS: "php audit_reverse_dns.php -b " plus the CIDR you wish to audit
Example:
php audit_reverse_dns.php -b 209.183.188/28
DNS Audit Tools: Additional File and Example Information
|