Commit Graph

42 Commits

Author SHA1 Message Date
bert hubert
4f26070e20 catch exceptions for TCP/IP as well 2018-04-18 09:24:57 +02:00
bert hubert
9d570043b6 catch errors in production and log them 2018-04-18 09:22:28 +02:00
bert hubert
3468204cee add more doxygen, rename some stuff for consistency 2018-04-18 09:17:28 +02:00
bert hubert
747444a7ff improve logging 2018-04-17 22:56:21 +02:00
Peter van Dijk
205ac90f9e correctly apply min(ttl,minimum) on SOA TTL for negative responses 2018-04-17 22:50:04 +02:00
bert hubert
459e09feec Improve logging a bit 2018-04-17 21:45:15 +02:00
bert hubert
ea5194dc80 add a lot of Doxygen comments 2018-04-17 14:19:44 +02:00
bert hubert
36ef270ee9 improve logging, add tests, move retrieveZone around, make test slave the root zone 2018-04-17 12:32:56 +02:00
bert hubert
944ae17282 add ton of documentation 2018-04-16 17:09:27 +02:00
bert hubert
f74eebf901 Tony Finch found that we put the SOA record in the wrong section on NO ERROR, NO DATA. 2018-04-16 16:36:51 +02:00
bert hubert
2d395b1113 add ability to print records, plus 'tdig' 2018-04-16 12:33:17 +02:00
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
Peter van Dijk
c5955c8886 stop including safearray.hh, it is gone 2018-04-15 19:40:10 +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
085116362a implement DNS compression 2018-04-14 00:12:53 +02:00
bert hubert
90e51417f0 remove some unused code 2018-04-13 18:06:19 +02:00
bert hubert
a79cb8a457 also copy in opcode 2018-04-13 17:56:51 +02:00
bert hubert
4685e53f78 copy in rd bit 2018-04-13 17:48:32 +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
85a2238786 introduce some fun records for testing 2018-04-13 15:44:11 +02:00
bert hubert
0398d80a87 clean up EDNS situation and astoundingly weird endianness bug 2018-04-13 15:23:00 +02:00
bert hubert
d9b33de683 fix up ipv6 address output 2018-04-13 13:39:59 +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
619f8ed981 more docs, more code 2018-04-13 11:02:59 +02:00
bert hubert
54c5271800 further big rename 2018-04-12 16:31:43 +02:00
bert hubert
b4e814d6b4 the big rename 2018-04-12 16:22:35 +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
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
56471fa3f4 fix querying glue directly 2018-04-10 00:06:03 +02:00
bert hubert
2872f88c99 lots of work, starting to look useful 2018-04-09 23:04:13 +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
bert hubert
97402d1071 its a WIP 2018-04-09 12:54:27 +02:00
bert hubert
515bfca635 working AXFR, printable enumbs 2018-04-08 23:20:11 +02:00
bert hubert
3cb8e98440 add initial TCP server 2018-04-03 18:03:59 +02:00
bert hubert
7afca8c957 tdns work 2018-04-03 13:18:37 +02:00
bert hubert
db4a95debe become more real 2018-04-02 13:25:19 +02:00
bert hubert
e2950ae08e rebase 2018-04-01 18:31:41 +02:00