jantman / pydnstest

ABANDONED - Python tool for testing DNS changes (add, remove, rename, change records) against a staging DNS server, verifying the same changes against production, or confirming that a record returns the same result in both environments.
GNU Affero General Public License v3.0
11 stars 1 forks source link

PTR checks should verify A record #34

Closed jantman closed 9 years ago

jantman commented 9 years ago

At some point in the past, an IP was reused and the PTR was updated, but the old A record was removed. We want to test removing the old A record. The PTR record test fails.

In essence, we have:

newhost                IN A    1.1.1.1
oldhost                IN A    1.1.1.1
1.1.1.1.IN-ADDR.ARPA.  IN PTR  newhost

We want to test removing the oldhost A record. But unless we disable reverse validation, it will fail the automatic PTR record check, even though the PTR points to a valid A record other than the one being removed.