Commit Graph

134 Commits (ff0b0b16401bf9965078bd55db9baf701456096b)

Author SHA1 Message Date
Darien Raymond eb05a92592
dont start periodic task until necessary 2018-08-29 23:00:01 +02:00
Darien Raymond 89fa9367ba
release buffer on error 2018-08-29 16:42:14 +02:00
Darien Raymond f227e85b54
support per-domain prioritized name server 2018-08-24 21:51:03 +02:00
Darien Raymond 059dfdbb97
doc for strmatcher interface 2018-08-20 15:39:58 +02:00
Darien Raymond 4b63638dca
update protobuf lib 2018-07-25 00:36:28 +02:00
Darien Raymond e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182. 2018-07-03 21:38:02 +02:00
Darien Raymond 463a9cbef8
tweak dns options 2018-07-02 22:22:04 +02:00
Darien Raymond 4c18b61e6c
fix dns query for CNAME 2018-07-01 17:15:29 +02:00
Darien Raymond 4368edf87c
switch to pubsub in dns service 2018-07-01 12:38:40 +02:00
Darien Raymond c9e35bb1ba
fix localnameserver creation 2018-06-27 11:23:39 +02:00
Darien Raymond 69820788b5
fix #1165 2018-06-27 09:12:55 +02:00
Darien Raymond 4477e7436b
simplify client ip design 2018-06-26 23:23:59 +02:00
Darien Raymond d5f7728acd
support subdomain matching in dns hosts 2018-06-26 22:34:05 +02:00
Darien Raymond ed34adf967
set udp size in edns 2018-06-26 17:26:34 +02:00
Darien Raymond e9e9de55ac
support client subnet 2018-06-26 17:14:51 +02:00
Darien Raymond f743b1e591
remove task member in dns.Server. 2018-06-26 15:35:22 +02:00
Darien Raymond 2fb77d6911
consume context in local nameserver. 2018-06-26 15:16:45 +02:00
Darien Raymond 9cfb2bfd51
simplify classic dns server 2018-06-26 15:04:47 +02:00
Darien Raymond 13f3c356ca
unified task package 2018-05-27 13:02:29 +02:00
Darien Raymond 68da956fc4
re-generate code 2018-05-25 11:56:01 +02:00
Darien Raymond 1d001c090b
comments 2018-04-19 21:33:18 +02:00
Darien Raymond 83625618ee
re-init maps when they are empty 2018-04-07 23:07:30 +02:00
Darien Raymond 9f198d7e3d
fix lint errors 2018-04-04 00:29:30 +02:00
wuxiang 3f19d09878 update some comments 2018-04-03 17:11:54 +08:00
Jinqiu Yu 33e090befe Clean useless code 2018-03-23 14:20:14 +08:00
Darien Raymond 649119493b
remove pending request from cache when error. fixes #942 2018-03-10 09:34:38 +01:00
Darien Raymond 0a3b3d0b6d
refactor UDPNameServer clean up task 2018-02-22 17:29:21 +01:00
Darien Raymond 88b25d38cb
simplify context retrieval 2018-02-21 17:05:29 +01:00
Darien Raymond dffaef60b4
use periodic task in dns.Server 2018-02-08 17:00:22 +01:00
Darien Raymond efcb567273
remove context in struct 2018-02-08 15:39:46 +01:00
Darien Raymond b5caea67ac
gofmt 2018-01-13 00:07:37 +01:00
Darien Raymond 6a7887b655
fix LocalNameServer 2018-01-10 13:32:48 +01:00
Darien Raymond 292d7cc353
massive refactoring for interoperability 2018-01-10 12:22:37 +01:00
Darien Raymond bc52a105ff
rename dns.Server 2017-12-28 23:19:41 +01:00
Darien Raymond 2bf5a008f0
fix error levels 2017-12-27 22:25:12 +01:00
Darien Raymond e736c08794
report pack error instead of panic 2017-12-23 21:11:17 +01:00
Darien Raymond 35545cb2db
fix test 2017-12-20 00:51:46 +01:00
Darien Raymond ab4f245313
overrideable dns 2017-12-19 23:55:09 +01:00
Darien Raymond f4c35db968
merge log into common log 2017-12-19 21:28:12 +01:00
Darien Raymond d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond fd8db49dc9
generalized event handler 2017-11-28 23:41:20 +01:00
Darien Raymond 3214a5078c
customizable policy 2017-11-27 22:09:30 +01:00
Darien Raymond afacee9e05
refactor 2017-11-19 21:43:20 +01:00
Darien Raymond 8fb69fc2b6
send IPv6 query only to supported server. 2017-11-19 20:42:34 +01:00
Darien Raymond 878d412c6a
handle truncated DNS messages. fix #713 2017-11-18 20:00:09 +01:00
Darien Raymond 88b521c77e
remove debug info 2017-11-17 03:03:27 +00:00
Darien Raymond 0dbfb66126
clean up dns package 2017-11-15 00:36:14 +01:00
Darien Raymond 74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond 1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond c13b212fc6
remove unused variables 2017-06-22 21:07:16 +02:00