Commit Graph

31 Commits

Author SHA1 Message Date
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
c5955c8886 stop including safearray.hh, it is gone 2018-04-15 19:40:10 +02:00
50ba4ebc67 implement nocompress for AXFR, unify some checks between UDP and TCP, improve comments 2018-04-14 20:16:56 +02:00
085116362a implement DNS compression 2018-04-14 00:12:53 +02:00
90e51417f0 remove some unused code 2018-04-13 18:06:19 +02:00
a79cb8a457 also copy in opcode 2018-04-13 17:56:51 +02:00
4685e53f78 copy in rd bit 2018-04-13 17:48:32 +02:00
1bfa78711f move EDNS processing, test for EDNS version, implement extended RCodes, define some fun domain names 2018-04-13 17:39:44 +02:00
85a2238786 introduce some fun records for testing 2018-04-13 15:44:11 +02:00
0398d80a87 clean up EDNS situation and astoundingly weird endianness bug 2018-04-13 15:23:00 +02:00
d9b33de683 fix up ipv6 address output 2018-04-13 13:39:59 +02:00
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
619f8ed981 more docs, more code 2018-04-13 11:02:59 +02:00
54c5271800 further big rename 2018-04-12 16:31:43 +02:00
b4e814d6b4 the big rename 2018-04-12 16:22:35 +02:00
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
cc9a13b29a add EDNS, proper label ordering including embedded zeros, update docs 2018-04-12 00:04:59 +02:00
294e72b261 make DNSMessageWriter variable length 2018-04-11 22:12:57 +02:00
ba62c04bd2 cleanup 2018-04-11 12:45:26 +02:00
b89079028a clang adjustments 2018-04-10 10:04:49 +02:00
56471fa3f4 fix querying glue directly 2018-04-10 00:06:03 +02:00
2872f88c99 lots of work, starting to look useful 2018-04-09 23:04:13 +02:00
ab91a50402 it works again 2018-04-09 20:49:37 +02:00
cc894edba6 superwip 2018-04-09 17:46:31 +02:00
8694ac87eb further split up 2018-04-09 16:43:24 +02:00
97402d1071 its a WIP 2018-04-09 12:54:27 +02:00
515bfca635 working AXFR, printable enumbs 2018-04-08 23:20:11 +02:00
3cb8e98440 add initial TCP server 2018-04-03 18:03:59 +02:00
7afca8c957 tdns work 2018-04-03 13:18:37 +02:00
db4a95debe become more real 2018-04-02 13:25:19 +02:00
e2950ae08e rebase 2018-04-01 18:31:41 +02:00