Miek Gieben
ea180d5051
All together now
...
Responder renamed to server and folded back into the
main dns package
2011-02-08 21:26:40 +01:00
Miek Gieben
8c36c59739
now then
2011-02-08 21:25:01 +01:00
Miek Gieben
1157834b1b
Fix folding the resolver code back in
2011-02-08 20:23:45 +01:00
Miek Gieben
9fc9f325b8
Folded resolver back into main package
2011-02-08 20:15:54 +01:00
Miek Gieben
876b8822a5
add start for nsec3
2011-01-27 15:52:58 +01:00
Miek Gieben
2b4ac48354
more parsing stuff
2011-01-16 15:47:45 +01:00
Miek Gieben
508103a287
make the parsing compile - complete unusable atm
2011-01-15 14:40:54 +01:00
Miek Gieben
1ea77385f3
Add first stab a yacc grammar+lexer
2011-01-15 13:34:51 +01:00
Miek Gieben
f274433c46
Put string.go inside DNS package
2011-01-15 12:24:09 +01:00
Miek Gieben
ab4a5b5477
Love interfaces
...
Using interfaces to make key.Generate and Sign much more generic
2011-01-14 18:25:36 +01:00
Miek Gieben
57b1e2f714
First stab at server support
...
Cherry pick GRONG for the server stuff (only server.go) seems
interesting.
Still working on the responder idea of GRONG and how to implement
it in godns
2011-01-11 23:33:07 +01:00
Miek Gieben
578304226f
Add dnskey gen for RSA keys
2011-01-10 16:10:15 +01:00
Miek Gieben
19edd05274
Fold dnssec back into dns
...
It is more natural. Otherwise tsig and tkey needed to be
put in their own packages
2011-01-09 10:31:23 +01:00
Miek Gieben
b2e9fc8d84
Added TSIG
...
By defining a new struct I can re-use all the nice
stuff in msg.go
2011-01-08 21:51:20 +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
9155d632f5
add TSIG as a type
2010-12-31 15:10:42 +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
bccabeaeda
Fix the makefile
2010-12-30 20:01:33 +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
b6244eaa04
update the Makefile
2010-12-30 16:49:42 +01:00
Miek Gieben
9d1d7444a3
Some fixes from creating a dig-like program
2010-12-30 16:38:16 +01:00
Miek Gieben
b51688191c
minor cleanups
2010-12-30 14:18:13 +01:00
Miek Gieben
bcf320aad4
rename the examples dir
...
Make it *not* show up in godoc
2010-12-30 14:13:28 +01:00
Miek Gieben
15dd65171b
Split the package in multiple packages
...
dns - the standard rrtypes and such
dnssec - validation, keytag calculation, etc
resolver - for talking to servers
2010-12-30 13:42:52 +01:00
Miek Gieben
ac43aed00f
Extracted the pubkey from a DNSKEY record
2010-12-29 16:34:53 +01:00
Miek Gieben
de5b30f781
zo dan
2010-12-29 16:11:23 +01:00
Miek Gieben
4ed14b9785
More cleansup and robustness
...
* make the resolver more robust
* more dnssec functions
2010-12-28 09:41:54 +01:00
Miek Gieben
73cc848e00
remove these files, stay lean and mean
2010-12-28 08:29:17 +01:00
Miek Gieben
36b181f65a
Add keytag calculation
...
Still slow, but it is working. Added testcase for this too
2010-12-27 12:49:48 +01:00
Miek Gieben
70552b49ca
More stuff added, first stab at using hashing functions
2010-12-25 11:43:12 +01:00
Miek Gieben
65caf6f891
Documentation!
...
Make the packet documentation much nicer.
2010-12-25 11:14:11 +01:00
Miek Gieben
b0d68e5fa9
add first stab at str conversion
2010-12-24 15:53:17 +01:00
Miek Gieben
c6e16cc054
Add examples
...
Completely modules after the examples of ldns.
Fist example is 'mx', print out the MX records of a domain.
More are coming, each is used to fine-tune the dns api
2010-12-24 12:43:53 +01:00
Miek Gieben
92d09fcfc1
prepare stuff for DNSSEC
2010-12-24 10:59:15 +01:00
Miek Gieben
e32a3784f2
more cleaning
2010-12-23 14:33:08 +01:00
Miek Gieben
94de3401fe
cleanups; rm unused stuff
2010-12-23 14:31:36 +01:00
Miek Gieben
18afd5e536
EDNS is easy
...
Only the OPT RR needs to be supported
2010-12-23 14:07:35 +01:00
Miek Gieben
4ce23b71cf
Fix the encoding a EDNS RR
...
Still need to handle the domain name packer, so that we can
detect we have an OPT RR, with the different encoding
2010-12-22 20:53:18 +01:00
Miek Gieben
0f05a2f434
Make a stab for EDNS
2010-12-22 12:26:50 +01:00
Miek Gieben
e650aae18b
EDNS impl.
...
Needs more work, especially in the handling of the
RR.Hdr which is diff. for EDNS rrs
2010-12-22 10:30:41 +01:00
Miek Gieben
0ed946d772
commit other changes too
2010-12-20 22:20:13 +01:00
Miek Gieben
718abd1f50
add mangler option to the resolver
2010-12-19 09:45:21 +01:00
Miek Gieben
8a88afca54
not used yet
2010-12-18 23:46:37 +01:00
Miek Gieben
712e50efea
Drop config.go
...
If you need something to parse /etc/resolv.conf, write it. Core
Go should export more of its dns stuff from net.
2010-12-18 21:00:00 +01:00
Miek Gieben
0e00511c31
Make the resolver a goroutine
...
Fits more nicely with DNS, async. for free
Renamed the files: dropped the dns prefix
2010-12-18 20:31:26 +01:00
Miek Gieben
769307b9ce
fix testing
2010-08-05 00:00:15 +02:00
Miek Gieben
f67087a176
added files
2010-08-03 23:57:59 +02:00