Miek Gieben
e5a394b97e
more printing tweaks for OPT
2010-12-23 14:43:26 +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
6be0c49d98
update todo and remove dead code
2010-12-23 14:30:22 +01:00
Miek Gieben
f16ad2a7af
Add some helper function for ENDS
...
cleanups - starts to work. Still FORMERR on EDNS0 request, but
we are getting there
2010-12-23 14:27:04 +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
8302d19b42
At least it gives formerr now
2010-12-23 11:02:01 +01:00
Miek Gieben
4668b309e2
seems to have a working edns impl
2010-12-23 10:43:10 +01:00
Miek Gieben
25f2e3d7e8
Look at the domain to see if it is edns
...
throw this information back upwards so the
the Edns bool can be set.
2010-12-23 09:51:43 +01:00
Miek Gieben
1a50861b43
another stab at edns0
2010-12-22 23:05:21 +01:00
Miek Gieben
935155843c
added
2010-12-22 22:42:52 +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
63c4d10ed0
Add stuff for EDNS
2010-12-21 21:12:43 +01:00
Miek Gieben
b8c9280cc4
add the remaining flags in the DNS headers
...
Next up: EDNS
2010-12-21 14:41:48 +01:00
Miek Gieben
de832dd7c0
fix todo
2010-12-20 22:45:44 +01:00
Miek Gieben
392f418a0e
Fix the inception printing
...
Still need to add serial arithmetic to the calculations
2010-12-20 22:44:50 +01:00
Miek Gieben
0ed946d772
commit other changes too
2010-12-20 22:20:13 +01:00
Miek Gieben
02c4a4b165
Fix DNSKEY and RRSIG records
2010-12-20 22:19:34 +01:00
Miek Gieben
35bd71b0fa
added LICENSE
2010-12-19 12:31:48 +01:00
Miek Gieben
65677020d5
some foo changes
2010-12-19 12:15:22 +01:00
Miek Gieben
cf839930e2
more minimal test
2010-12-19 12:09:21 +01:00
Miek Gieben
718abd1f50
add mangler option to the resolver
2010-12-19 09:45:21 +01:00
Miek Gieben
406c80bebf
added README
2010-12-18 23:55:17 +01:00
Miek Gieben
bdfa83b5ed
add more stuff to restest
2010-12-18 23:51:50 +01:00
Miek Gieben
8a88afca54
not used yet
2010-12-18 23:46:37 +01:00
Miek Gieben
b5640dba89
Make it more go like
...
Start the goroutine and return the channel to the caller.
Only use 1 channel, a nil message signals the end of the
routine.
Still need a good name for the MsgErr
2010-12-18 23:35:30 +01:00
Miek Gieben
354b8e559e
small tweaks
2010-12-18 21:01:50 +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
bd1957e77d
more stuff added
2010-12-18 20:57:02 +01:00
Miek Gieben
ad968420ec
allow the resolver to be reconfigured on the fly
2010-12-18 20:55:45 +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
3c745019dd
same patch for dns being nil
2010-10-07 08:46:46 +02:00
Miek Gieben
13e6e74680
Fix printing of the header
...
Patch from Stéphane Bortzmeyer
2010-10-07 08:45:21 +02:00
Miek Gieben
af26ef2532
Make members of dns.Msg public
...
added packtest to see if ipv4 and ipv6 works
2010-08-09 12:40:31 +02:00
Miek Gieben
eb05356fa9
update the comments a bit
2010-08-05 00:06:25 +02:00
Miek Gieben
abc2b880a1
more special check for ipv4 needed anymore
2010-08-05 00:02:44 +02:00
Miek Gieben
769307b9ce
fix testing
2010-08-05 00:00:15 +02:00
Miek Gieben
ddeeadc22a
add packers for ipv4/6 to
2010-08-04 23:41:05 +02:00
Miek Gieben
2001d57c2e
parse.go must go eventually
2010-08-04 00:20:11 +02:00
Miek Gieben
eef4547bbc
more stuff
2010-08-03 23:58:45 +02:00
Miek Gieben
f67087a176
added files
2010-08-03 23:57:59 +02:00