Parse reverse address lookup IPs in the Zone

.. rather than making clients of the zone do it. At the minute there's
only one call site, but soon there will be more.
This commit is contained in:
Michael Bridgen committed 2015-01-08 13:39:33 +00:00
1 parent 71d96eed7d
commit 3866bd5e63
3 files changed
+33 -26

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ func TestZone(t *testing.T) {
}
// See if we can find the address by IP.
foundName, err := zone.ReverseLookupLocal(ip)
foundName, err := zone.ReverseLookupLocal("1.2.0.10.in-addr.arpa.")
wt.AssertNoErr(t, err)
if foundName != successTestName {