Reply

Create Automated Forward-Reverse Report

New Member
Posts: 2
1188     0

How do I create a report on Forward & Reverse mismatches?  Perhaps this has been addressed before with the reporting server?  I thought I had seen this somewhere before.  However, I'm old and that may have been back in the perl api days.  Perhaps I should be doing this via WAPI?

 

Here is more specifically what I want to know:

- Forward records in my authorative zones that have an IP assignment, but no matching reverse record

- Reverse records that do not have a matching forward record

-- Perhaps make a note of Reverse recods that match, but have more than one forward record

- Forward record with a single address, and the reverse records does not match the forward record

-- Again, perhaps note forward records that have more than one address

-g2

Re: Create Automated Forward-Reverse Report

Techie
Posts: 8
1189     0

I have a little VM that has TSIG Key configured and an allow transfer statment for both forward and reverse zones on all the autoratative servers that I manage. Once a day, I use a cron'd bash script to transfer all of the zones to a couple of flat files on the disk (excluding SOA records `| sort -u`). One file contans forward records and the reverse are in the 2nd file. The script then looks at each of the PTR records and makes sure something exist. If the existing record is a CNAME, it puts that in an exception file. If the name doesn't exist in the forward file it puts it in the "missing-forward" exception file. I do the same for all A-records in the forward zone. 

 

The script actually does a lot more than this, and checks for things like broken CNAMEs and invalid MX records, and checks for any NS records that don't have a matching A-Record 

 

 

 

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You