In the process, found a segfault from assuming the Res field of proxyCtx
is non-nil. I added a defensive check as I'm not sure if it's guaranteed to be
non-nil in regular execution in this context.
Close#1914
Squashed commit of the following:
commit cb127a9a409b2f228848fb838535f3db6e9d32a9
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Oct 2 12:37:11 2020 +0300
return empty response if not A/AAAA qtype
commit 175a736d7d69619022db92a9250c382ad7fc9996
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Oct 2 12:21:51 2020 +0300
fix
commit 03aab89d2da00ede3aad6eb5a5bb2d545444a186
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Oct 2 12:18:11 2020 +0300
fix tests
commit 4225d511df910aae2df4651231c01a8a13bb937f
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Oct 2 12:02:11 2020 +0300
* DNS: set default blocking mode to Null IP for A/AAAA, NXDOMAIN for others
#2036
Squashed commit of the following:
commit 5c70d28b241d1a98e034f6798dade073b1b42511
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 24 18:42:21 2020 +0300
- windows: install: fix crash due to empty DHCP server pointer
We should not assign a Go interface value, otherwise `==nil` check doesn't work.
Close#1843
Squashed commit of the following:
commit cc82b373816b76a803d29e4baae18384aa0f8c67
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Aug 20 14:20:35 2020 +0300
* /control/dns_config: allow all valid bootstrap server notations
* use dnsproxy v0.31.1
#1956
Squashed commit of the following:
commit efeacd92b8b82a9a0a0cce8c5648f2d024b4bc9e
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Aug 18 13:54:15 2020 +0300
* DNS: resolve host names from DHCP: improve
. Require a valid host name from DHCP lease
. Use lower-case names
Close#1956
Squashed commit of the following:
commit 21f11632c871e9c17faa77f9cd6a7aa836559779
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 17 19:54:24 2020 +0300
+ DNS: resolve host names to IP addresses leased by AGH DHCP server
Close#2015
Squashed commit of the following:
commit 90ba06f1fce22a452b4d61db62bd950b976debd1
Merge: 9494b29b 473d8818
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Aug 14 19:14:26 2020 +0300
Merge remote-tracking branch 'origin/master' into max-go
commit 9494b29b65ae8fe593a487984bed051aa78e4ff9
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Aug 14 17:03:00 2020 +0300
+ max_goroutines setting
commit 87071a5e0ed43be192a7755fb25764cd4519da5a
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Aug 14 15:29:00 2020 +0300
- dns: limit the number of active goroutines for incoming requests processing
+ rewrites: support IP exception; support "pass A only" case
* commit '32610840f9a0769bb58c7443a485c5e5b0cd2b68':
+ rewrites: support IP exception; support "pass A only" case
Squashed commit of the following:
commit e5b488249a4d972efd63c6e96830d9f30829aee1
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Jun 16 15:38:27 2020 +0300
+ dns: new settings for cache
+ rewrites: support IP exception
host.com -> 1.2.3.4
host.com -> AAAA
Response:
A:
A = 1.2.3.4
AAAA:
AAAA = <IPv6 address of host.com>
+ rewrites: support "pass A only" case
host.com -> A
Response:
A:
A = <IPv4 address of host.com>
AAAA:
<empty>
* commit '59c4a2886a97143e3a36912ec895dc1a06be88cc':
openapi
If there are no more older entries, `"oldest":""` is returned.
fix search by "whitelisted", "rewritten"
doc
fix whois test
+ "dot"
openapi
* minor
+ client_proto
* openapi
+ new query logs API
#1746
for a rule:
cname -> domain
with IP of 'domain' resolved by upstream
Squashed commit of the following:
commit fb3ad25ac8a7963a8fa6587cdc33e2fc35f79dfb
Merge: a6794989 67dacdf8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Jun 1 15:15:23 2020 +0300
Merge remote-tracking branch 'origin/master' into 1746-rewrites
commit a679498904a817011b55c58ee579e55f27fa0bc8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Jun 1 10:42:16 2020 +0300
test: check question
commit 7491e753c5eb6df54c9c050b0fa198c81dded2a0
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri May 29 18:22:32 2020 +0300
test
commit 12cb2e194191ca489c9025b55f8571ae2dd7c33d
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri May 29 14:51:06 2020 +0300
- rewrites: fix invalid question in response
for a rule:
cname -> domain
with IP of 'domain' resolved by upstream