From e1cad04b1e83f5ab89cbc4fbfe410490c69bdaee Mon Sep 17 00:00:00 2001 From: Fabian Faessler Date: Sun, 29 Sep 2013 20:45:55 +0200 Subject: [PATCH] fixed IPv6 display in the overview table --- nsupdate/main/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsupdate/main/models.py b/nsupdate/main/models.py index 6adc8d7..caeeefc 100644 --- a/nsupdate/main/models.py +++ b/nsupdate/main/models.py @@ -87,7 +87,7 @@ class Host(models.Model): def getIPv6(self): try: - return dnstools.query_ns(self.get_fqdn(), 'A') + return dnstools.query_ns(self.get_fqdn(), 'AAAA') except dns.resolver.NXDOMAIN: return ''