Commit Graph

129 Commits (ad336ca5683dee70c279ba9167832fdb81a1673e)

Author SHA1 Message Date
Darien Raymond e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182.
6 years ago
Darien Raymond 463a9cbef8
tweak dns options
7 years ago
Darien Raymond 4c18b61e6c
fix dns query for CNAME
7 years ago
Darien Raymond 4368edf87c
switch to pubsub in dns service
7 years ago
Darien Raymond c9e35bb1ba
fix localnameserver creation
7 years ago
Darien Raymond 69820788b5
fix #1165
7 years ago
Darien Raymond 4477e7436b
simplify client ip design
7 years ago
Darien Raymond d5f7728acd
support subdomain matching in dns hosts
7 years ago
Darien Raymond ed34adf967
set udp size in edns
7 years ago
Darien Raymond e9e9de55ac
support client subnet
7 years ago
Darien Raymond f743b1e591
remove task member in dns.Server.
7 years ago
Darien Raymond 2fb77d6911
consume context in local nameserver.
7 years ago
Darien Raymond 9cfb2bfd51
simplify classic dns server
7 years ago
Darien Raymond 13f3c356ca
unified task package
7 years ago
Darien Raymond 68da956fc4
re-generate code
7 years ago
Darien Raymond 1d001c090b
comments
7 years ago
Darien Raymond 83625618ee
re-init maps when they are empty
7 years ago
Darien Raymond 9f198d7e3d
fix lint errors
7 years ago
wuxiang 3f19d09878 update some comments
7 years ago
Jinqiu Yu 33e090befe Clean useless code
7 years ago
Darien Raymond 649119493b
remove pending request from cache when error. fixes #942
7 years ago
Darien Raymond 0a3b3d0b6d
refactor UDPNameServer clean up task
7 years ago
Darien Raymond 88b25d38cb
simplify context retrieval
7 years ago
Darien Raymond dffaef60b4
use periodic task in dns.Server
7 years ago
Darien Raymond efcb567273
remove context in struct
7 years ago
Darien Raymond b5caea67ac
gofmt
7 years ago
Darien Raymond 6a7887b655
fix LocalNameServer
7 years ago
Darien Raymond 292d7cc353
massive refactoring for interoperability
7 years ago
Darien Raymond bc52a105ff
rename dns.Server
7 years ago
Darien Raymond 2bf5a008f0
fix error levels
7 years ago
Darien Raymond e736c08794
report pack error instead of panic
7 years ago
Darien Raymond 35545cb2db
fix test
7 years ago
Darien Raymond ab4f245313
overrideable dns
7 years ago
Darien Raymond f4c35db968
merge log into common log
7 years ago
Darien Raymond d43a23aa96
move error generator to common
7 years ago
Darien Raymond fd8db49dc9
generalized event handler
7 years ago
Darien Raymond 3214a5078c
customizable policy
7 years ago
Darien Raymond afacee9e05
refactor
7 years ago
Darien Raymond 8fb69fc2b6
send IPv6 query only to supported server.
7 years ago
Darien Raymond 878d412c6a
handle truncated DNS messages. fix #713
7 years ago
Darien Raymond 88b521c77e
remove debug info
7 years ago
Darien Raymond 0dbfb66126
clean up dns package
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago
Darien Raymond 1c856a46ab step 1 to remove reference to net package
7 years ago
Darien Raymond c13b212fc6
remove unused variables
8 years ago
Darien Raymond 2e756cdaa8
refactor
8 years ago
Darien Raymond 59a1e2d736
refactor
8 years ago
Darien Raymond 0e01e9e9ca
comments
8 years ago
Darien Raymond 277a08d8a7
fix lint error
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago