mirror of
https://github.com/miekg/dns.git
synced 2025-09-03 15:21:01 +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.
|
// 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=="}
|
// server.TsigSecret = map[string]string{"axfr.": "so6ZGir4GPAqINNh9U5c3A=="}
|
||||||
// go server.ListenAndServe()
|
// go server.ListenAndServe()
|
||||||
// dns.HandleFunc(".", handleRequest)
|
// dns.HandleFunc(".", handleRequest)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user