Make it listen on tcp/upd for v4 and v6
This commit is contained in:
parent
0a79fd28e0
commit
b7004384f8
|
@ -7,12 +7,11 @@ things that need to be fixed.
|
|||
* Speed, we can always go faster. A simple reflect server now hits 30/40K qps
|
||||
* Add handy zone data structure (r/b tree)? Or not...
|
||||
* Use the Exchange structure to deal with errors when resolving, esp. Timeout
|
||||
* IsSubdomain, IsGlue helper functions;
|
||||
* IsSubdomain, IsGlue helper functions?
|
||||
* SaltLength in NSEC3 is ugly to set, should be automatically done. There are prolly a few more
|
||||
settings just like that -- need to look at them.
|
||||
-edns NSID is another
|
||||
* Add tsig check in 'q'?
|
||||
* \DDD in zonefiles
|
||||
|
||||
## BUGS
|
||||
|
||||
|
|
|
@ -128,10 +128,8 @@ func main() {
|
|||
}
|
||||
|
||||
dns.HandleFunc(".", handleReflect)
|
||||
go serve("tcp6")
|
||||
go serve("tcp4")
|
||||
go serve("udp6")
|
||||
go serve("udp4")
|
||||
go serve("tcp")
|
||||
go serve("udp")
|
||||
forever:
|
||||
for {
|
||||
select {
|
||||
|
|
Loading…
Reference in New Issue