Commit Graph

36 Commits (2cc8c1aa01f03d2495cbfccda868574439c44953)

Author SHA1 Message Date
Vigilans 17f51f412c Dotless domain support in built-in DNS
4 years ago
Roger Shimizu 90af5f19ba
Apply Debian's patch to upstream
4 years ago
mzz2017 7f4f8091f9 feat/fix: dns query subscriptions group by A and AAAA. fix problem that empty result would poll dns server in DoH mode
5 years ago
vcptr ceb77ac8f5 only add to ipIndexMap if GeoIP is configured
5 years ago
vcptr 6ef77246ab add DOH dns client
5 years ago
Kslr 66cba31123 return error instead of panic, fixes #1638
6 years ago
Darien Raymond 7e5e080488
move sniffing result to session
6 years ago
Darien Raymond bb8465e1d6
fix dns parsing for unknown header types
6 years ago
Darien Raymond 9957c64b4a
correctly propagate dns errors all the way through.
6 years ago
Darien Raymond 1ab94fed79
optimize v2ctl size
6 years ago
Darien Raymond ffb3793b26
support domain to domain mapping in static host
6 years ago
Darien Raymond 44d87ed642
inbound tag for dns requests
6 years ago
Darien Raymond b52725cf65
DialUDP function
6 years ago
Darien Raymond 1c830472b9
dns protocol package
6 years ago
Darien Raymond fc1e660c27
change net.IP to net.Address
6 years ago
Darien Raymond 9cad27e9bd
skip answer if it is not A or AAAA record
6 years ago
Darien Raymond 1cc3a4832d
fix logic for adding localhost dns
6 years ago
Darien Raymond bb1efdebd1
support querying either IPv4 or IPv6 dns
6 years ago
Darien Raymond afc613f8f3
test case for edns0_subnet
6 years ago
Darien Raymond d013e8069d
switch to stdlib for dns queries
6 years ago
Darien Raymond f7b96507f9
simplify buffer extension
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond b6dc31d3fe
first part to move feature interfaces into dedicated directory
6 years ago
Darien Raymond 156af4241d
add some logs
6 years ago
Darien Raymond eb05a92592
dont start periodic task until necessary
6 years ago
Darien Raymond 89fa9367ba
release buffer on error
6 years ago
Darien Raymond e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182.
6 years ago
Darien Raymond 463a9cbef8
tweak dns options
6 years ago
Darien Raymond 4c18b61e6c
fix dns query for CNAME
6 years ago
Darien Raymond 4368edf87c
switch to pubsub in dns service
6 years ago
Darien Raymond 69820788b5
fix #1165
7 years ago
Darien Raymond 4477e7436b
simplify client ip design
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 2fb77d6911
consume context in local nameserver.
7 years ago
Darien Raymond 9cfb2bfd51
simplify classic dns server
7 years ago