Skip to content

Commit

Permalink
Set Id of the SOA query (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitarzysta authored and miekg committed Apr 19, 2018
1 parent 42d6cc3 commit 7b1f339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions check-soa/check-soa.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func main() {
}
for _, ip := range ips {
m.Question[0] = dns.Question{Name: dns.Fqdn(os.Args[1]), Qtype: dns.TypeSOA, Qclass: dns.ClassINET}
m.Id = dns.Id()
var nsAddressPort string
if strings.ContainsAny(":", ip) {
// IPv6 address
Expand Down

0 comments on commit 7b1f339

Please sign in to comment.