diff --git a/ex/check-soa/check-soa.go b/ex/check-soa/check-soa.go index 2173475b..df4355fb 100644 --- a/ex/check-soa/check-soa.go +++ b/ex/check-soa/check-soa.go @@ -108,7 +108,7 @@ func main() { m.Question[0] = dns.Question{dns.Fqdn(os.Args[1]), dns.TypeSOA, dns.ClassINET} nsAddressPort := "" if strings.ContainsAny(":", ip) { - /* IPv6 address */ + // IPv6 address nsAddressPort = "[" + ip + "]:53" } else { nsAddressPort = ip + ":53"