Miek Gieben
6f78219c22
Documentation updates
2011-09-11 20:47:25 +02:00
Miek Gieben
bec4153541
slight updates to the TODO
2011-09-10 14:48:22 +02:00
Miek Gieben
19bf874769
Use a new type to send back request,answer
...
a type Exchange has been added, which makes communicating with
the resolver more strait forward.
This will also be used in the *xfr functions.
2011-09-10 14:26:08 +02:00
Taral
220ad18ded
Remove redundant sorting and fix small error
2011-09-08 12:14:06 -07:00
Miek Gieben
ec11e6abd3
documentation
2011-09-08 19:28:00 +02:00
Miek Gieben
c64f506103
Remove a packStruct - should improve performance
2011-08-08 15:28:19 +02:00
Miek Gieben
4925a831aa
move zoneMatch to dns.go
2011-07-31 09:53:54 +02:00
Miek Gieben
be10e40045
Fix Pop()
...
Need to check which of the rrs, rrsigs of nxt is actually filled
with the data and pop that.
2011-07-29 13:16:27 +02:00
Miek Gieben
5df752fef7
Smaller tweaks
2011-07-28 23:39:31 +02:00
Miek Gieben
caa1502c1e
Add much more complex zone structure
...
A zone is stored in a
map[string]map[int]*ZRRset
where string is the qname and int (in the second map) is
qclass * <large number> + qtype, thereby making it unique.
ZRRset holds:
RRs RRset
RRsigs RRset
Nsec RR
Nsec3 RR
Glue bool
Which holds the RRset for the zone contents. This is grouped
together for DNSSEC purposes, but also helps in non-DNSSEC zones.
(There is of course a increase in memory usage).
2011-07-28 22:47:55 +02:00
Miek Gieben
b2a6356596
Fix opt pseudo section stuff
2011-07-25 11:24:26 +02:00
Miek Gieben
4671072027
Error handling
...
Handle semantic errors in the input stream.
Try to use Ragel's error handling when seeing a non-supported
class. This does not work yet.
2011-07-24 17:08:33 +02:00
Miek Gieben
b56e9b4e04
documentation
2011-07-23 23:41:24 +02:00
Miek Gieben
9b1e7b4b3d
documentation
...
make Str_rr and Str_class private, prolly only needed
for parsing
2011-07-23 23:15:40 +02:00
Miek Gieben
7cc28a94e9
Fix funkensturm signing
...
make LabelCount public account.
2011-07-06 21:50:23 +02:00
Miek Gieben
077c1ce596
Some documentation update
2011-07-05 21:08:22 +02:00
Miek Gieben
b0a9805be9
Documentation
2011-07-04 21:32:39 +02:00
Miek Gieben
5de08ff3dc
Update doc and set recursion = true in SetQuestion
2011-07-04 21:28:30 +02:00
Miek Gieben
3c10506681
start with the documentation
2011-04-17 22:14:26 +02:00
Miek Gieben
d7b332725c
axfr should be fixed
2011-04-17 22:03:36 +02:00
Miek Gieben
172331a23f
completely break the api
2011-04-02 09:22:05 +02:00
Miek Gieben
686cd05417
rename QuerySimple to SimpleQuery
...
add a default query handler 'HandlerQuery' that can be
used.
2011-03-31 10:31:17 +02:00
Miek Gieben
8a4647ec22
documentation
2011-03-30 15:35:49 +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
879e6dcda8
Clean ups
2011-03-29 11:17:43 +02:00
Miek Gieben
1e9a8df857
Update docs and fix mx example
2011-03-29 10:41:57 +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
b4e28e3d56
Finish the new query API
2011-03-28 16:57:04 +02:00
Miek Gieben
97a03a9bd5
remove the old resolver structure
2011-03-28 16:03:47 +02:00
Miek Gieben
2b7d2203fb
API is taking shape
2011-03-28 14:45:40 +02:00
Miek Gieben
573b6d3460
use Query in resolver
2011-03-28 11:22:36 +02:00
Miek Gieben
5c28696357
API works, but it is not very nice (yet)
2011-03-28 10:59:06 +02:00
Miek Gieben
7cc589d52a
Add mangle to Conn
2011-03-28 10:39:01 +02:00
Miek Gieben
f9088e1e75
Make the new resolver API better
2011-03-28 10:33:57 +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
ac0f4afcc9
doc updates
2011-03-27 11:46:15 +02:00
Miek Gieben
55c41c82b7
Add more Conn wrappers
2011-03-27 11:45:01 +02:00
Miek Gieben
4029c4153c
Use defaulTTL, more Go like
2011-03-25 17:47:35 +01:00
Miek Gieben
8aa88a0bd3
normalize errors
2011-03-25 11:19:35 +01:00
Miek Gieben
15518a578f
Lowlevel read/write improvements
2011-03-25 09:58:14 +01:00
Miek Gieben
b1363094de
Fix TCP reading
2011-03-24 18:07:38 +01:00
Miek Gieben
f44bf2d656
Formatting
2011-03-24 09:24:24 +01:00
Miek Gieben
93a7feb0a7
small doc updates
2011-03-24 09:16:33 +01:00
Miek Gieben
25bdf43f06
more documentation updates
2011-03-23 19:37:07 +01:00
Miek Gieben
ee88f57c1b
add documentation
2011-03-23 17:41:52 +01:00
Miek Gieben
8b70e31c41
Fix examples and API additions
2011-03-23 09:50:38 +01:00
Miek Gieben
a7a8b616f0
fix reflect
2011-03-21 22:53:15 +01:00
Miek Gieben
72c6ff37eb
Fix error handling
2011-03-21 17:43:03 +01:00
Miek Gieben
90a1d813d9
Fix rereading tcp
2011-03-21 14:20:46 +01:00