Miek Gieben
05b7ac53dd
Create qnamelist for nsec/nsec3 handling
2011-07-30 23:05:34 +02:00
Miek Gieben
e016536cdc
Add nsec(3) support in the core zone structure
2011-07-29 22:06:09 +02:00
Miek Gieben
1c5460413d
Make room for a sorted list of owners
2011-07-29 21:52:58 +02:00
Miek Gieben
e162e9bfb1
Use *Zone instead of Zone
2011-07-29 21:37:58 +02:00
Miek Gieben
5769966167
also add the packages that are now neeed
2011-07-29 20:07:27 +02:00
Miek Gieben
7e644793fe
Add nsec3 search functions
2011-07-29 20:06:52 +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
6931e1e215
Adapt ns to the new (fast) zone structure
2011-07-29 14:15:59 +02:00
Miek Gieben
a5bec02e96
make lookup LookupName
2011-07-29 13:44:35 +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
33fbece4ca
Add txt and fixup ds, ta and dlv
2011-07-29 12:18:20 +02:00
Miek Gieben
9cfece64db
Only 1 nxt is needed
2011-07-29 11:00:47 +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
00f8254ae1
Fix parsing of RRSIGs
2011-07-24 21:29:16 +02:00
Miek Gieben
da0603089a
gofmt -w
2011-07-23 23:43:43 +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
725fb45591
Parse the test zone from Jan Mercl
2011-07-22 12:49:03 +02:00
Miek Gieben
e87fb8209f
FINALLY looks like something thats is fast and simple
2011-07-22 12:26:31 +02:00
Miek Gieben
108e795378
Some tweaks; not sure if this is the way forward
2011-07-21 16:43:18 +02:00
Miek Gieben
367dfb8eb8
deze erbij
2011-07-20 21:18:06 +02:00
Miek Gieben
7c716e66c0
Parsing zone files - does not work (yet)
2011-07-18 20:47:03 +02:00