Commit Graph

51 Commits

Author SHA1 Message Date
Miek Gieben 861a2adb6c Forget to the add the i := fv.Uint() 2011-08-08 13:10:35 +02:00
Miek Gieben 069c5237f5 added 2011-08-04 11:27:56 +02:00
Miek Gieben 66ea81043c Implement fully featured nameserver.
Currently:
    * does positive DNSSEC (no NXDOMAIN)
    * does plain NXDOMAIN
    * Name error
    * reasonable fast: 7000+ qps
2011-07-29 16:14:04 +02:00
Miek Gieben 47cc5b3e77 Fixes 2011-07-26 19:16:28 +02:00
Miek Gieben b2a6356596 Fix opt pseudo section stuff 2011-07-25 11:24:26 +02:00
Miek Gieben 1914a36ab7 implement show-query 2011-07-25 08:58:34 +02:00
Miek Gieben 6e7a5dd725 funkensturm compiles, but is slow for some reason 2011-07-06 19:21:19 +02:00
Miek Gieben 3c00547738 Fix 'q' too.
Adapt to the new api
2011-07-04 23:57:26 +02:00
Miek Gieben 15d84f0d7d Fix xfrprg -- needs testing 2011-03-30 17:50:07 +02:00
Miek Gieben 8a4647ec22 documentation 2011-03-30 15:35:49 +02:00
Miek Gieben af7f3f769f Fix the examples, except funkensturm 2011-03-30 15:23:09 +02:00
Miek Gieben e5a769baf0 Fix up API and documentation 2011-03-30 14:54:43 +02:00
Miek Gieben 0449ff62a2 seeing some light in the query API
global channels look to be helpfull
2011-03-30 11:14:36 +02:00
Miek Gieben 4b0bee3c94 fix q 2011-03-29 10:57:36 +02:00
Miek Gieben 2d7a1cddeb Add QuerySimple
Some examples are working again. Things are getting
better.

Still need to think about a generic Config (ClientConfig)
for parsing the /etc/resolv.conf
2011-03-29 10:15:42 +02:00
Miek Gieben be5e51a6ab Fix client programs 2011-03-28 16:51:29 +02:00
Miek Gieben 866e63aafa fix client stuff 2011-03-28 16:13:34 +02:00
Miek Gieben 135772de9f complete rewrite the resolver side
make it mirror the server side and thus
async and concurrent
2011-03-28 10:01:10 +02:00
Miek Gieben b74cc74914 Use Defaults() function for TSIG 2011-03-13 18:16:35 +01:00
Miek Gieben 26a19ac0fb remove it again 2011-03-13 18:01:01 +01:00
Miek Gieben 80e97d6439 Add generic New() function 2011-03-13 17:54:12 +01:00
Miek Gieben 283a543924 short salt in nsec3 too 2011-03-02 15:05:43 +01:00
Miek Gieben 7014ede8bb Add -short option that does not display the long key and sig data 2011-03-01 14:57:21 +01:00
Miek Gieben e9b74bf87a remove this DUH 2011-03-01 13:11:56 +01:00
Miek Gieben 971bfb7a08 remove debugging 2011-02-28 11:56:59 +01:00
Miek Gieben e6dc03baeb Shuffle the dns constant to dns.go 2011-02-28 10:42:03 +01:00
Miek Gieben 77348913dd Update the documentation 2011-02-24 16:13:23 +01:00
Miek Gieben 79a3a78657 Add unknown types 2011-02-23 15:25:11 +01:00
Miek Gieben c6ec1f1ce7 add unknowns to q 2011-02-21 16:00:30 +01:00
Miek Gieben f6d6e1524a Fix q 2011-02-08 20:22:43 +01:00
Miek Gieben 9fc9f325b8 Folded resolver back into main package 2011-02-08 20:15:54 +01:00
Miek Gieben 17e35aed72 make examples better 2011-01-27 09:40:18 +01:00
Miek Gieben 756be15ce5 disable compression again 2011-01-25 12:32:18 +01:00
Miek Gieben 9d6d5ff3f7 play with pkt compression 2011-01-25 12:31:47 +01:00
Miek Gieben bc25b1a162 Use short nil form 2011-01-18 15:51:24 +01:00
Miek Gieben ec441e36e1 Add Meta data to the resolver 2011-01-18 15:44:30 +01:00
Miek Gieben c729cdd971 Add nsid to q 2011-01-17 10:51:33 +01:00
Miek Gieben a7977d6665 Use the new parsing from /etc/resolv.conf
Fixup all the examples programs
2011-01-17 10:38:25 +01:00
Miek Gieben fea310bbcf New API
rename resolver.DnsMsg to resolver.Msg. shorter and better
Adapt all files to this change
2011-01-13 16:12:02 +01:00
Miek Gieben fc8e6345af Fix examples and add notify prog
Show how simple a dns-notify becomes.
2011-01-08 13:46:51 +01:00
Miek Gieben 659fc455ba better error handling 2011-01-03 12:18:17 +01:00
Miek Gieben 97506dafe4 Fix the error handling
Added new type (copied from net package) dns.Error that carries
all errors
2011-01-03 11:29:04 +01:00
Miek Gieben 9976029ca6 Add install script for installation
Fix the examples for the new api
2011-01-01 22:03:41 +01:00
Miek Gieben 0dcdbe4361 Fix DNS over TCP
Actually send the 2 bytes length and also be prepared
to receive them.
2010-12-31 14:11:52 +01:00
Miek Gieben c71d8e1495 First stab for strconv
This will later be extended to be a real parser.
Applied assorted tweaks
2010-12-30 20:00:26 +01:00
Miek Gieben 6730efb0f5 finish q.go 2010-12-30 18:56:12 +01:00
Miek Gieben 1b362f5bd2 Copy from dig flags to q
q is a sample query app for Go dns
2010-12-30 18:48:29 +01:00
Miek Gieben acdab89120 Completely fix EDNS0 2010-12-30 18:42:40 +01:00
Miek Gieben ec2e732ad3 Better handle error in pack/unpacking 2010-12-30 17:15:59 +01:00
Miek Gieben 28f4189630 Add 'q' a dig-like program (only 100 lines of code) 2010-12-30 16:44:32 +01:00