diff --git a/stations.py b/stations.py index 83bb0d8..c258219 100644 --- a/stations.py +++ b/stations.py @@ -12,7 +12,7 @@ def ipaddr(hostname, rectype='A'): return DNS.dnslookup(hostname, rectype, 3) -def nsname(ipaddrs, rectype='A'): +def nsname(ipaddrs): return DNS.revlookup(ipaddrs, 3)