Commit Graph

43 Commits

Author SHA1 Message Date
Miek Gieben 7adc5ab95b make origin an fqdn 2012-07-16 19:46:16 +02:00
Miek Gieben b5720f99ed Merge branch 'dev' of github.com:miekg/dns into dev 2012-07-16 19:11:46 +02:00
Miek Gieben 3d60449628 more changes 2012-07-16 19:11:40 +02:00
Miek Gieben 46c5f66169 more glue check stuf 2012-07-16 19:11:04 +02:00
Miek Gieben 0f583730b9 Merge branch 'dev' of github.com:miekg/dns into dev 2012-07-16 19:10:24 +02:00
Miek Gieben 2931a5f7b1 more changes 2012-07-16 19:09:50 +02:00
Miek Gieben 0184607387 More radix stuff and think about glue detection 2012-07-16 13:31:18 +02:00
Miek Gieben 6e31effe78 More zone updates 2012-07-15 23:15:04 +02:00
Miek Gieben 00ddf6551c use official one 2012-07-15 20:23:53 +02:00
Miek Gieben 3e8b67a8ad initialize better 2012-07-15 19:16:39 +02:00
Miek Gieben 8d963d7fa0 correctly insert 2012-07-15 18:16:20 +02:00
Miek Gieben 2569757dd1 insert it to 2012-07-15 18:13:24 +02:00
Miek Gieben 38f7400e18 A zone impl 2012-07-15 18:11:17 +02:00
Miek Gieben 68f08416ff more stuff 2012-07-14 22:54:49 +02:00
Miek Gieben a6611e8c33 added 2012-07-14 22:01:52 +02:00
Miek Gieben 74095fb85a I do not have use for zone structures yet 2011-09-02 13:02:29 +02:00
Miek Gieben 0f1d52d66c Play with compression-like zone structures 2011-08-09 15:56:00 +02:00
Miek Gieben 7cd58b1700 start with zone compression 2011-08-09 15:24:53 +02:00
Miek Gieben 64715cc563 Extra nil checks
Now that parsing is broken. Fix the code to do nil checks
which now surface.
2011-08-08 10:20:52 +02:00
Miek Gieben ba30caf3b3 documentation 2011-07-31 22:29:50 +02:00
Miek Gieben 7cf37d9d6f Add another funkensturm example
This time a reverse proxy.

Funkensturm itself can also use a rewrite to make it nicer
2011-07-31 15:36:07 +02:00
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