fixed IPv6 display in the overview table
This commit is contained in:
parent
a4e3ab4e58
commit
e1cad04b1e
@ -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 ''
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user