tweaks
This commit is contained in:
parent
3f8ac4cce4
commit
90562fddfb
10
README
10
README
|
@ -1,19 +1,17 @@
|
|||
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
|
||||
supported. DNSSEC types too (except NSEC3, for now).
|
||||
supported. DNSSEC types too.
|
||||
EDNS0 is (see edns.go), UDP/TCP queries, TSIG, AXFR (and IXFR probably)
|
||||
too. Both client and server side programming is supported.
|
||||
|
||||
Installation is done by running: ./install
|
||||
|
||||
Sample programs can be found in the _examples directory. They can
|
||||
be build with: make examples (after the dns package has been installed)
|
||||
|
||||
The major omission at the moment is parsing Resource Records from
|
||||
strings. (i.e. supporting the RFC 1035 zone file format).
|
||||
Also the IPv6 support needs to be tested, both in dns/resolver and
|
||||
dns/responder.
|
||||
Also the IPv6 support needs to be tested
|
||||
|
||||
Everything else should be present and working. If not, drop me an email.
|
||||
|
||||
Have fun!
|
||||
|
|
|
@ -13,14 +13,12 @@ import (
|
|||
"net"
|
||||
"fmt"
|
||||
"dns"
|
||||
"dns/resolver"
|
||||
"dns/responder"
|
||||
"os/signal"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// Define a responder that takes care of the incoming queries.
|
||||
type server responder.Server
|
||||
type server dns.Server
|
||||
|
||||
// Define a slice of channels for the resolver for sending the queries somewhere else.
|
||||
var qr []chan resolver.Msg
|
||||
|
|
Loading…
Reference in New Issue