set GOMAXPROCS to an insane value
This commit is contained in:
parent
5bce6b6dcb
commit
a93456ae33
4
TODO
4
TODO
|
@ -3,7 +3,9 @@ Todo:
|
|||
* Tsig testing
|
||||
* Private key file parsing use io.Reader (or the like)
|
||||
* Parsing from /etc/resolv.conf - clean up the code, use normal packages
|
||||
* IP6 testing
|
||||
* IP6 testing - in resolver and also in responder code
|
||||
extend Responder interface with ipv6?
|
||||
* Text impl of nameserver, with a small zone, 1 KSK and online signing
|
||||
|
||||
Longer term:
|
||||
* Parsing from strings, going with goyacc and own lexer
|
||||
|
|
|
@ -21,6 +21,7 @@ import (
|
|||
"strconv"
|
||||
"dns"
|
||||
"dns/responder"
|
||||
"runtime"
|
||||
"os/signal"
|
||||
)
|
||||
|
||||
|
@ -93,6 +94,8 @@ func (s *server) ResponderTCP(c *net.TCPConn, in []byte) {
|
|||
}
|
||||
|
||||
func main() {
|
||||
runtime.GOMAXPROCS(10) // Be bold
|
||||
|
||||
s := new(responder.Server)
|
||||
s.Address = "127.0.0.1"
|
||||
s.Port = "8053"
|
||||
|
|
Loading…
Reference in New Issue