Small tweaks
This commit is contained in:
parent
cd3181c7e4
commit
61e828d49c
|
@ -1,7 +1,7 @@
|
||||||
# Alternative (more granular) approach to a DNS library.
|
# Alternative (more granular) approach to a DNS library.
|
||||||
|
|
||||||
Completely usable DNS library. Most widely used Resource Records are
|
Complete and usable DNS library. Most widely used Resource Records are
|
||||||
supported including the DNSSEC types. It follows a lean and mean philosophy.
|
supported, including the DNSSEC types. It follows a lean and mean philosophy.
|
||||||
If there is stuff you should know as a DNS programmer there isn't a convenience
|
If there is stuff you should know as a DNS programmer there isn't a convenience
|
||||||
function for it. For instance I'm pondering if a zone-like structure should be
|
function for it. For instance I'm pondering if a zone-like structure should be
|
||||||
implemented in the library.
|
implemented in the library.
|
||||||
|
|
|
@ -128,10 +128,10 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
dns.HandleFunc(".", handleReflect)
|
dns.HandleFunc(".", handleReflect)
|
||||||
go serve("udp4")
|
|
||||||
go serve("udp6")
|
|
||||||
go serve("tcp4")
|
|
||||||
go serve("tcp6")
|
go serve("tcp6")
|
||||||
|
go serve("tcp4")
|
||||||
|
go serve("udp6")
|
||||||
|
go serve("udp4")
|
||||||
forever:
|
forever:
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
|
Loading…
Reference in New Issue