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):
|
def getIPv6(self):
|
||||||
try:
|
try:
|
||||||
return dnstools.query_ns(self.get_fqdn(), 'A')
|
return dnstools.query_ns(self.get_fqdn(), 'AAAA')
|
||||||
except dns.resolver.NXDOMAIN:
|
except dns.resolver.NXDOMAIN:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user