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
|
* 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...
|
* Add handy zone data structure (r/b tree)? Or not...
|
||||||
* Use the Exchange structure to deal with errors when resolving, esp. Timeout
|
* 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
|
* 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.
|
settings just like that -- need to look at them.
|
||||||
-edns NSID is another
|
-edns NSID is another
|
||||||
* Add tsig check in 'q'?
|
* Add tsig check in 'q'?
|
||||||
* \DDD in zonefiles
|
|
||||||
|
|
||||||
## BUGS
|
## BUGS
|
||||||
|
|
||||||
|
|
|
@ -128,10 +128,8 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
dns.HandleFunc(".", handleReflect)
|
dns.HandleFunc(".", handleReflect)
|
||||||
go serve("tcp6")
|
go serve("tcp")
|
||||||
go serve("tcp4")
|
go serve("udp")
|
||||||
go serve("udp6")
|
|
||||||
go serve("udp4")
|
|
||||||
forever:
|
forever:
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
|
Loading…
Reference in New Issue