mirror of
https://github.com/miekg/dns.git
synced 2025-08-31 13:51:00 +02:00
Fix documentation
This commit is contained in:
parent
a64ecb02f3
commit
20c84a80a7
2
tsig.go
2
tsig.go
@ -32,7 +32,7 @@
|
||||
//
|
||||
// Basic use pattern validating and replying to a message that has TSIG set.
|
||||
//
|
||||
// server = new(dns.Server)
|
||||
// server := &dns.Server{Addr: ":53", Net: "udp"}
|
||||
// server.TsigSecret = map[string]string{"axfr.": "so6ZGir4GPAqINNh9U5c3A=="}
|
||||
// go server.ListenAndServe()
|
||||
// dns.HandleFunc(".", handleRequest)
|
||||
|
Loading…
x
Reference in New Issue
Block a user