AdguardForWindows icon indicating copy to clipboard operation
AdguardForWindows copied to clipboard

DNS not applied after upgrade from v7.9.1

Open xtwmx opened this issue 2 years ago • 12 comments

Steps to reproduce

  1. Install Adguard v7.9.1
  2. Enable DNS and verify it is applied using the test page
  3. Upgrade Adguard to a newer version (7.10+)
  4. Enable DNS and verify it is applied using the test page

Expected behavior

DNS conf is applied

Actual behavior

DNS conf is NOT applied

Notes

2 different computers tested with same result Newest version tested not working 7.10.2 Oldest version tested not working 7.10 beta 1

Screenshot:

Customer ID

Ticket number is 631340

Your environment

WIndows 10 Pro 21H2

xtwmx avatar Aug 23 '22 17:08 xtwmx

@xtwmx сould you confirm if the problem occurs when you use different resources for checking DNS? For instance, ipleak.net, dnsleaktest.com (and retest please adguard.com/test.html)

In addition, check what DNS upstream is displayed in filtering log when you open websites (AdGuard's settings - Adblocker - Filtering log - DNS tab - click on any request and look at your DNS upstream on the side bar)

Aydinv13 avatar Aug 25 '22 10:08 Aydinv13

DNS Leak Test https://dnsleak.com/

zubrRB avatar Aug 25 '22 10:08 zubrRB

@xtwmx сould you confirm if the problem occurs when you use different resources for checking DNS? For instance, ipleak.net, dnsleaktest.com (and retest please adguard.com/test.html)

In addition, check what DNS upstream is displayed in filtering log when you open websites (AdGuard's settings - Adblocker - Filtering log - DNS tab - click on any request and look at your DNS upstream on the side bar)

I used 2 resources every time:

  1. https://www.top10vpn.com/tools/what-is-my-dns-server/
  2. https://adguard.com/en/test.html

DNS tab is empty under Filtering log with newer versions.

xtwmx avatar Aug 25 '22 10:08 xtwmx

I also sent debug logs through customer service.

xtwmx avatar Aug 25 '22 10:08 xtwmx

@xtwmx сould you confirm if the problem occurs when you use different resources for checking DNS? For instance, ipleak.net, dnsleaktest.com (and retest please adguard.com/test.html) In addition, check what DNS upstream is displayed in filtering log when you open websites (AdGuard's settings - Adblocker - Filtering log - DNS tab - click on any request and look at your DNS upstream on the side bar)

I used 2 resources every time:

  1. https://www.top10vpn.com/tools/what-is-my-dns-server/
  2. https://adguard.com/en/test.html

DNS tab is empty under Filtering log with newer versions.

OK, it seems the Adguard test page does not generate DNS records. But the other resource does:

PC with latest nightly 7.11n9 Kuvatõmmis 2022-08-25 133632

PC with latest release 7.10.2

{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "6fbfe8dd-bf06-4f17-9aaa-2ff31b1c2489.test.dnsleaktest.com",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-25T13:46:20.6436139+03:00",
			"ResponseSizeBytes": 91,
			"RequestSizeBytes": 4096,
			"StartProcessRequestTime": "2022-08-25T13:46:20.366+03:00",
			"ProcessRequestElapsedMs": 277,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": "A, 23.239.16.110",
			"DnsUpstream": "https://dns.adguard-dns.com/dns-query",
			"DnsType": "A",
			"DnsStatus": "NOERROR",
			"IsFromCache": false,
			"IsHttpsFilteringEnabled": false
		}
	]
}

xtwmx avatar Aug 25 '22 10:08 xtwmx

@xtwmx , so as I can see from the post above you got "DnsUpstream": "https://dns.adguard-dns.com/dns-query", with the 7.10.2 version. Could you please check your used DNS server with the Get-DnsClientServerAddress command in powershell

adbuker avatar Aug 31 '22 12:08 adbuker

@xtwmx , so as I can see from the post above you got "DnsUpstream": "https://dns.adguard-dns.com/dns-query", with the 7.10.2 version. Could you please check your used DNS server with the Get-DnsClientServerAddress command in powershell

@adbuker I did a screenshot with 7.10.2 installed. ps

xtwmx avatar Aug 31 '22 14:08 xtwmx

ok. great, but as you can see in your posted log record "DnsUpstream": "https://dns.adguard-dns.com/dns-query".

Could you please check your DNS address with all service mentioned above

  1. ipleak.net,
  2. dnsleaktest,
  3. dnsleak
  4. top10vpn
  5. adguard-test

Moreover, could you please check it with the different types of DNS upstream (DoH, DoT, etc)

adbuker avatar Aug 31 '22 14:08 adbuker

ok. great, but as you can see in your posted log record "DnsUpstream": "https://dns.adguard-dns.com/dns-query".

Could you please check your DNS address with all service mentioned above

  1. ipleak.net,
  2. dnsleaktest,
  3. dnsleak
  4. top10vpn
  5. adguard-test

@adbuker Here are my results with 7.10.2 Despite the log records the DNS is not applied for me with newer versions.

  1. ipleak.net
{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "l1ts4vea8vz5rg1cbnotr8qfhgnjeej5ydpe2mp7-1.ipleak.net",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-31T18:02:52.3031771+03:00",
			"ResponseSizeBytes": 87,
			"RequestSizeBytes": 4096,
			"StartProcessRequestTime": "2022-08-31T18:02:52.221+03:00",
			"ProcessRequestElapsedMs": 79,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": "A, 95.85.16.212",
			"DnsUpstream": "https://unfiltered.adguard-dns.com/dns-query",
			"DnsType": "A",
			"DnsStatus": "NOERROR",
			"IsFromCache": false,
			"IsHttpsFilteringEnabled": false
		}
	]
}
  1. dnsleaktest
{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "be76daff-4e07-45a0-ba3e-b1907804f96b.test.dnsleaktest.com",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-31T18:20:45.4253266+03:00",
			"ResponseSizeBytes": 91,
			"RequestSizeBytes": 4096,
			"StartProcessRequestTime": "2022-08-31T18:20:45.147+03:00",
			"ProcessRequestElapsedMs": 278,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": "A, 23.239.16.110",
			"DnsUpstream": "https://unfiltered.adguard-dns.com/dns-query",
			"DnsType": "A",
			"DnsStatus": "NOERROR",
			"IsFromCache": false,
			"IsHttpsFilteringEnabled": false
		}
	]
}
  1. dnsleak
{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "1_1uwkw9lt5aell4pk.dnsleak.privateinternetaccess.com",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-31T18:19:24.5974827+03:00",
			"ResponseSizeBytes": 70,
			"RequestSizeBytes": 4096,
			"StartProcessRequestTime": "2022-08-31T18:19:24.443+03:00",
			"ProcessRequestElapsedMs": 154,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": null,
			"DnsUpstream": "https://unfiltered.adguard-dns.com/dns-query",
			"DnsType": "A",
			"DnsStatus": "NXDOMAIN",
			"IsFromCache": false,
			"IsHttpsFilteringEnabled": false
		}
	]
}
  1. top10vpn
{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "iptools.top10vpn.com",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-31T18:07:41.5387567+03:00",
			"ResponseSizeBytes": 66,
			"RequestSizeBytes": 4096,
			"StartProcessRequestTime": "2022-08-31T18:07:41.462+03:00",
			"ProcessRequestElapsedMs": 76,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": "AAAA, 2604:a880:0:1010::2c:4001",
			"DnsUpstream": "https://unfiltered.adguard-dns.com/dns-query",
			"DnsType": "AAAA",
			"DnsStatus": "NOERROR",
			"IsFromCache": false,
			"IsHttpsFilteringEnabled": false
		}
	]
}
  1. adguard-test

As I mentioned before it does not generate DNS log records for me.

xtwmx avatar Aug 31 '22 15:08 xtwmx

Moreover, could you please check it with the different types of DNS upstream (DoH, DoT, etc)

@adbuker Here are my results with 7.10.2 from top10vpn: Regular

{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "dns4-27ad96719096dddc5efeec8daf761492.dnstest4.top10vpn.com",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-31T18:45:10.8295717+03:00",
			"ResponseSizeBytes": 77,
			"RequestSizeBytes": 4096,
			"StartProcessRequestTime": "2022-08-31T18:45:08.174+03:00",
			"ProcessRequestElapsedMs": 2656,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": null,
			"DnsUpstream": "94.140.14.140\r\n94.140.14.141",
			"DnsType": "AAAA",
			"DnsStatus": "NOERROR",
			"IsFromCache": false,
			"IsHttpsFilteringEnabled": false
		}
	]
}

DNSCrypt

{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "dns6-6f312b40831371394d268ebd1e534c6f.dnstest6.top10vpn.com",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-31T18:46:08.237687+03:00",
			"ResponseSizeBytes": 105,
			"RequestSizeBytes": 4096,
			"StartProcessRequestTime": "2022-08-31T18:46:06.703+03:00",
			"ProcessRequestElapsedMs": 1535,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": "AAAA, 2604:a880:0:1010::2c:4001",
			"DnsUpstream": "sdns://AQcAAAAAAAAAFDE3Ni4xMDMuMTMwLjEzNjo1NDQzILXoRNa4Oj4-EmjraB--pw3jxfpo29aIFB2_LsBmstr6JTIuZG5zY3J5cHQudW5maWx0ZXJlZC5uczEuYWRndWFyZC5jb20",
			"DnsType": "AAAA",
			"DnsStatus": "NOERROR",
			"IsFromCache": false,
			"IsHttpsFilteringEnabled": false
		}
	]
}

SSL

{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "iptools.top10vpn.com",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-31T18:39:38.6189979+03:00",
			"ResponseSizeBytes": 0,
			"RequestSizeBytes": 0,
			"StartProcessRequestTime": "2022-08-31T18:39:38.619+03:00",
			"ProcessRequestElapsedMs": 0,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": "A, 192.241.175.134",
			"DnsUpstream": "https://unfiltered.adguard-dns.com/dns-query",
			"DnsType": "A",
			"DnsStatus": "NOERROR",
			"IsFromCache": true,
			"IsHttpsFilteringEnabled": false
		}
	]
}

TLS

{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "dns6-d7394d6d84559e8be45806246285e318.dnstest6.top10vpn.com",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-31T18:41:42.521323+03:00",
			"ResponseSizeBytes": 105,
			"RequestSizeBytes": 4096,
			"StartProcessRequestTime": "2022-08-31T18:41:41.417+03:00",
			"ProcessRequestElapsedMs": 1104,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": "AAAA, 2604:a880:0:1010::2c:4001",
			"DnsUpstream": "tls://unfiltered.adguard-dns.com",
			"DnsType": "AAAA",
			"DnsStatus": "NOERROR",
			"IsFromCache": false,
			"IsHttpsFilteringEnabled": false
		}
	]
}

QUIC

{
	"ProtocolVersion": "1",
	"LogRecords": [
		{
			"ConnectionId": 0,
			"RequestId": 0,
			"ProcessId": 0,
			"Url": "",
			"AppPath": null,
			"Type": 8192,
			"ProtocolType": "Dns",
			"Method": null,
			"StatusDescription": null,
			"StatusCode": 0,
			"RemoteIpAddress": null,
			"Rule": null,
			"Source": null,
			"Host": "dns6-ad6951fb5a49d6f286874f659a19ffb2.dnstest6.top10vpn.com",
			"IsThirdParty": false,
			"LogRecordType": 4,
			"BlockType": 0,
			"FiredContentRules": null,
			"FiredCookieRules": null,
			"FiredReplaceRules": null,
			"FiredCspRules": null,
			"FiredStealthRules": null,
			"FiredRemoveParamRules": null,
			"RequestHeaders": null,
			"ResponseHeaders": null,
			"FiredFilterId": 0,
			"Time": "2022-08-31T18:42:23.2003321+03:00",
			"ResponseSizeBytes": 77,
			"RequestSizeBytes": 4096,
			"StartProcessRequestTime": "2022-08-31T18:42:22.943+03:00",
			"ProcessRequestElapsedMs": 257,
			"AppliedStealthModeOptions": 0,
			"IsProxyClientPath": false,
			"DnsAnswer": null,
			"DnsUpstream": "quic://unfiltered.adguard-dns.com",
			"DnsType": "A",
			"DnsStatus": "NOERROR",
			"IsFromCache": false,
			"IsHttpsFilteringEnabled": false
		}
	]
}

xtwmx avatar Aug 31 '22 15:08 xtwmx

@xtwmx could you check it with latest nightly version? It has a lot of fixes in the DNS part.

Aydinv13 avatar Sep 12 '22 09:09 Aydinv13

@xtwmx could you check it with latest nightly version? It has a lot of fixes in the DNS part.

Tested again with v7.11 n12: still not working for me. I am still baffled how nobody else is not complaining about it.

xtwmx avatar Sep 16 '22 14:09 xtwmx

@xtwmx I had this issue suddenly out of nowhere, it was long after the last update. I did everything, even re-install it. It got fix by simply restarting the PC. Never happen again. "I am still baffled how nobody else is not complaining about it." So yeah, it works on my machine.

HDark15 avatar Nov 28 '22 12:11 HDark15

@xtwmx , it's really strange. Have you tried rebooting (like @HDark15 did). Also could you please

  1. export your current settings
  2. reinstall AdGuard
  3. test how the DNS works
  4. import previously exported settings and test how the DNS works again

adbuker avatar Nov 28 '22 12:11 adbuker

Guys you fixed it! Just updated to v7.12 n1 on my test machine. Both the adguard-test and top10vpn confirm it as working now.

xtwmx avatar Dec 04 '22 23:12 xtwmx

Verified now also in release channel v7.12.

xtwmx avatar Jan 30 '23 17:01 xtwmx