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:
1 parent
71d96eed7d
commit
3866bd5e63
3 files changed
+33
-26
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user