Commit Graph

19 Commits

Author SHA1 Message Date
bert hubert
d03d16cbdf dnsdist can now retrieve zones over AXFR, including the root. This shook out some compression bugs, plus an off by one on serving the root zone. With this commit, tdns can also parse DNS Messages (which it needs for AXFR).
This also introduces some 'reflection' support that will eventually unify message generation/parting and zone file format input/output
2018-04-16 00:14:18 +02:00
bert hubert
a7c4670284 remove safearray, dnsmessagereader can now parse "any" length 2018-04-15 16:29:17 +02:00
bert hubert
50ba4ebc67 implement nocompress for AXFR, unify some checks between UDP and TCP, improve comments 2018-04-14 20:16:56 +02:00
bert hubert
503a5cbccf std::unique_ptr comptree 2018-04-14 15:48:01 +02:00
bert hubert
085116362a implement DNS compression 2018-04-14 00:12:53 +02:00
bert hubert
1bfa78711f move EDNS processing, test for EDNS version, implement extended RCodes, define some fun domain names 2018-04-13 17:39:44 +02:00
bert hubert
0398d80a87 clean up EDNS situation and astoundingly weird endianness bug 2018-04-13 15:23:00 +02:00
bert hubert
c3386dad83 make DNSMessageReader safer to use, don't crash on unknown zones, send REFUSED response for AXFR for non-existent zone 2018-04-13 13:37:17 +02:00
bert hubert
54c5271800 further big rename 2018-04-12 16:31:43 +02:00
bert hubert
fc6f5183a2 move things around a bit 2018-04-12 16:29:59 +02:00
bert hubert
9dd1e50cf6 move check for cname into the right place, fix up logging output, move edns parsing to right place 2018-04-12 16:16:31 +02:00
bert hubert
cc9a13b29a add EDNS, proper label ordering including embedded zeros, update docs 2018-04-12 00:04:59 +02:00
bert hubert
294e72b261 make DNSMessageWriter variable length 2018-04-11 22:12:57 +02:00
bert hubert
5a28d14d82 make dnslabels their own case insensitive type, which turn out to be a cleanup, plus implement silly dynamic record type 2018-04-11 16:54:50 +02:00
bert hubert
ba62c04bd2 cleanup 2018-04-11 12:45:26 +02:00
bert hubert
b89079028a clang adjustments 2018-04-10 10:04:49 +02:00
bert hubert
ab91a50402 it works again 2018-04-09 20:49:37 +02:00
bert hubert
cc894edba6 superwip 2018-04-09 17:46:31 +02:00
bert hubert
8694ac87eb further split up 2018-04-09 16:43:24 +02:00