mirror of
https://github.com/miekg/dns.git
synced 2025-10-13 19:01:01 +02:00
Ids already set
This commit is contained in:
parent
4f61f8621b
commit
97a07cd326
@ -18,7 +18,6 @@ func main() {
|
|||||||
client := dns.NewClient()
|
client := dns.NewClient()
|
||||||
client.Net = "tcp"
|
client.Net = "tcp"
|
||||||
m := new(dns.Msg)
|
m := new(dns.Msg)
|
||||||
m.MsgHdr.Id = dns.Id()
|
|
||||||
if *serial > 0 {
|
if *serial > 0 {
|
||||||
m.SetIxfr(zone, uint32(*serial))
|
m.SetIxfr(zone, uint32(*serial))
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user