LupusE
April 14, 2024, 3:58pm
50
Hi Admon,
I really admire your scripts. I don’t want to criticize them or your style. I just try to give a external view point.
I have to admit I even don’t know the differences in the embedded versions. But from my little knowledge about scripting, I know most function is portable.
$ echo “$(curl -s “https://raw.githubusercontent.com/Admonstrator/glinet.forum/main/scripts/update-adguardhome/update-adguardhome.sh ” | grep -o 'SCRIPT_VERSION=”[0-9]{4}.[0-9]{2}.[0-9]{2}.[0-9]{2}“’ | cut -d '”’ -f 2 || echo “Failed to retrieve script version”)"
2024.04.14.01
$ curl -o update-adguardhome.sh https://raw.githubusercontent.com/Admonstrator/glinet.forum/main/scripts/update-adguardhome/update-adguardhome.sh && sh update-adguardhome.sh
$ echo “$(wget --output-document - -q “https://raw.githubusercontent.com/Admonstrator/glinet.forum/main/scripts/update-adguardhome/update-adguardhome.sh ” | grep -o 'SCRIPT_VERSION=”[0-9]{4}.[0-9]{2}.[0-9]{2}.[0-9]{2}“’ | cut -d '”’ -f 2 || echo “Failed to retrieve script version”)"
2024.04.14.01
$ wget https://raw.githubusercontent.com/Admonstrator/glinet.forum/main/scripts/update-adguardhome/update-adguardhome.sh && sh update-adguardhome.sh
And I know many programmer and scripter are exchange them unintentionally. So I want to mention it (with details for future reference). If you are using it or not, its up to you.
admon
April 14, 2024, 4:09pm
51
All fine, I might consider it next time I rework this script.
I just remember that there was an issue with curl somehow, not sure why. But I will look into it when I do a rework.
2 Likes
Renato
April 16, 2024, 9:12am
52
When there is an update on the script, should I run it again on GL-iNet devices?
I noticed some updates on the last days/weeks, but I ran the script 1 month ago.
By the way, on the Readme (Feedback session), the link is going to Tailscale post on GL-iNet forum and not this post.
admon
April 16, 2024, 9:23am
53
Yep, you should always use the newest version. Since a few versions, there is an auto-updater onboard.
1 Like
Great work, just updated ! Thank you.
Renato
April 18, 2024, 12:58pm
55
This process should be running?
admon
April 18, 2024, 2:44pm
56
If you use AGH, this should be running because it’s … well … the AGH binary?
1 Like
jean27
April 18, 2024, 4:39pm
57
I’m discovering my ax3000 a little,
and I don’t see any button to update adguard home
in the admin panel (http interface…)
sincerely by purchasing this material, I saw wrt
and I thought the GUI would be more complete…
like support for advanced uninstallation,
like update button,
see GUI for torrent…
in short I didn’t think I found myself in the Linux command line in ssh…
I had a dwrt router, and didn’t have to do this…
admon
April 18, 2024, 6:23pm
58
You won’t see a button because you need to do it via SSH.
If you are not familiar with SSH, you can either try to learn about it (which depends on your OS) or you can simply ignore updating AdGuard because it’s not really needed anyway.
1 Like
Renato
April 18, 2024, 7:35pm
59
When there is an Adguard update available, I can just update it pressing a button at the bottom of the Adguard dashboard
admon
April 18, 2024, 7:39pm
60
But only after running the script
1 Like
Renato
April 18, 2024, 7:53pm
61
Yep, this is what the user above is expecting to see… An user-friendly GUI interface.
More buttons to automate everything instead of command line.
admon
April 18, 2024, 8:05pm
62
Well, yes. But tbh: If you want to use advanced technology, you need to get into it.
If it’s too hard, there is still the way of staying with your ISPs router.
But that’s another topic.
1 Like
@admon I took your advice and talked about the Adguardhome issue in OpenWRT. Some developers cloned their script and made some changes.
If you want to check it out: History for scripts/update-adguardhome - nextgen-networks/glinet.forum · GitHub
admon
April 18, 2024, 8:16pm
64
Tzeh, tzeh, tzeh. Cloning a script without a license … And then people always say that the open-source community is so nice and friendly.
But if it works, it’s cool!
1 Like
Hello Admon and good Sunday Morning to you.
Are there any advantages in performance or security for me to update AdGuard Home from version 107.26 to the latest version?
I am using AdGuard Home for the DNS Block Lists Filtering and the more private Upstream DNS Servers/port 443, in combination with my Proton VPN installed on my MT6000 Flint2 Router.
I am a home end user with only a couple of computers and phones and an Amazon FireCube.
Thank you very much.
1 Like
admon
April 28, 2024, 3:48pm
66
Security mostly, but not really. Since all your systems are internal only, I would assume that upgrading isn’t really necessary. There might be bug fixes as well - but nothing “big”.
So it’s totally up to you, I would say.
OK, thank you for your advice and input. Yes everything is internal for me. I think I will just wait and take the stance”if it ain’t broke don’t fix it”. I will wait a while for more updates from you or maybe in the future GLiNet.
Thank you very much.
Can someone try to replicate this errors on Flint2 with ADGuard Home updated?
GL-inet didn’t find this problem and also ADGuard Home Team was unable to replicate it.
So, the only variable now is the Flint2 with the new versions of ADH.
Is there anyone else using DNSCrypt servers on Adguard and noticing these errors on the System log?
Fri Apr 19 08:08:19 2024 user.notice AdGuardHome[9197]: 2024/04/19 07:08:19.954779 [error] dnsproxy: upstream sdns://AQMAAAAAAAAADDkuOS45Ljk6ODQ0MyBnyEe4yHWM0SAkVUO-dWdG3zTfHYTAC4xHA2jfgh2GPhkyLmRuc2NyeXB0LWNlcnQucXVhZDkubmV0 failed to exchange ;agnss.goog. IN A in 9.29923ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
Thu Apr 18 12:21:53 2024 user.notice AdGuardH…
opened 07:53PM - 07 Apr 24 UTC
### Prerequisites
- [X] I have checked the [Wiki](https://github.com/AdguardT… eam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer
- [X] I have searched other issues and found no duplicates
- [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)
- [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)
### Platform (OS and CPU architecture)
Linux, ARM64
### Installation
Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)
### Setup
On a router, DHCP is handled by the router
### AdGuard Home version
0.107.48
### Action
I'm noticing a lot of these errors on my log:
```
Sat Apr 6 17:57:37 2024 user.notice AdGuardHome[8137]: 2024/04/06 16:57:37.213287 [error] dnsproxy: upstream sdns://AQAAAAAAAAAACjguMjAuMjQ3LjIg0sJUqpYcHsoXmZb1X7yAHwg2xyN5q1J-zaiGG-Dgs7AoMi5kbnNjcnlwdC1jZXJ0LnNoaWVsZC0yLmRuc2J5Y29tb2RvLmNvbQ failed to exchange ;weather.nest.com. IN A in 18.729841ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
Sat Apr 6 21:00:52 2024 user.notice AdGuardHome[8137]: 2024/04/06 20:00:52.880450 [error] dnsproxy: upstream sdns://AQAAAAAAAAAADjIwOC42Ny4yMjAuMjIwILc1EUAgbyJdPivYItf9aR6hwzzI1maNDL4Ev6vKQ_t5GzIuZG5zY3J5cHQtY2VydC5vcGVuZG5zLmNvbQ failed to exchange ;s3.glbimg.com. IN HTTPS in 226.548648ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
Sat Apr 6 21:29:39 2024 user.notice AdGuardHome[8137]: 2024/04/06 20:29:39.610791 [error] dnsproxy: upstream sdns://AQIAAAAAAAAAETk0LjE0MC4xNC4xNDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20 failed to exchange ;firebaseremoteconfig.googleapis.com. IN A in 7.66672ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
Sat Apr 6 23:11:45 2024 user.notice AdGuardHome[8137]: 2024/04/06 22:11:45.401988 [error] dnsproxy: upstream sdns://AQAAAAAAAAAACjguMjAuMjQ3LjIg0sJUqpYcHsoXmZb1X7yAHwg2xyN5q1J-zaiGG-Dgs7AoMi5kbnNjcnlwdC1jZXJ0LnNoaWVsZC0yLmRuc2J5Y29tb2RvLmNvbQ failed to exchange ;colvk.viki.io. IN A in 20.838928ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
Sun Apr 7 00:12:15 2024 user.notice AdGuardHome[8137]: 2024/04/06 23:12:15.570966 [error] dnsproxy: upstream sdns://AQMAAAAAAAAADDkuOS45Ljk6ODQ0MyBnyEe4yHWM0SAkVUO-dWdG3zTfHYTAC4xHA2jfgh2GPhkyLmRuc2NyeXB0LWNlcnQucXVhZDkubmV0 failed to exchange ;xgapromomanager-pa.googleapis.com. IN A in 9.135598ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
Sun Apr 7 00:12:15 2024 user.notice AdGuardHome[8137]: 2024/04/06 23:12:15.561725 [error] dnsproxy: upstream sdns://AQIAAAAAAAAAETk0LjE0MC4xNC4xNDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20 failed to exchange ;xgapromomanager-pa.googleapis.com. IN A in 7.550599ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
Sun Apr 7 12:37:57 2024 user.notice AdGuardHome[8137]: 2024/04/07 11:37:57.442440 [error] dnsproxy: upstream sdns://AQAAAAAAAAAADjIwOC42Ny4yMjAuMjIwILc1EUAgbyJdPivYItf9aR6hwzzI1maNDL4Ev6vKQ_t5GzIuZG5zY3J5cHQtY2VydC5vcGVuZG5zLmNvbQ failed to exchange ;shop.allnetchina.cn. IN A in 18.676623ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
Sun Apr 7 15:00:03 2024 user.notice AdGuardHome[8137]: 2024/04/07 14:00:03.703077 [error] dnsproxy: upstream sdns://AQAAAAAAAAAACjguMjAuMjQ3LjIg0sJUqpYcHsoXmZb1X7yAHwg2xyN5q1J-zaiGG-Dgs7AoMi5kbnNjcnlwdC1jZXJ0LnNoaWVsZC0yLmRuc2J5Y29tb2RvLmNvbQ failed to exchange ;5aa25954e40ffb18984989b59487dfe054549e213a2e64a12187f8deb5a4cb5.us-east-1.prod.service.minerva.devices.a2z.com. IN A in 17.727306ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
Sun Apr 7 17:49:49 2024 user.notice AdGuardHome[8137]: 2024/04/07 16:49:49.174139 [error] dnsproxy: upstream sdns://AQAAAAAAAAAADjIwOC42Ny4yMjAuMjIwILc1EUAgbyJdPivYItf9aR6hwzzI1maNDL4Ev6vKQ_t5GzIuZG5zY3J5cHQtY2VydC5vcGVuZG5zLmNvbQ failed to exchange ;fitbitvestibuleshim-pa.googleapis.com. IN A in 15.355386ms: exchanging: dnscrypt: DNSCrypt response is invalid and cannot be decrypted
```
Upstream servers (load balancing mode):
The 3rd (from bottom to top) is an ADGuard DNSCrypt server, which is also resulting in an error reported above.
**To reproduce the error quickier, remove the HTTPS, TLS and QUIC servers from the list below.**
```
https://dns.google/dns-query
https://dns.quad9.net/dns-query
https://dns.twnic.tw/dns-query
https://doh.opendns.com/dns-query
https://security.cloudflare-dns.com/dns-query
tls://security.cloudflare-dns.com
quic://dns.adguard-dns.com
quic://zero.dns0.eu
https://dns.adguard-dns.com/dns-query
tls://dns.adguard-dns.com
sdns://AQAAAAAAAAAADjIwOC42Ny4yMjAuMjIwILc1EUAgbyJdPivYItf9aR6hwzzI1maNDL4Ev6vKQ_t5GzIuZG5zY3J5cHQtY2VydC5vcGVuZG5zLmNvbQ
sdns://AQMAAAAAAAAADDkuOS45Ljk6ODQ0MyBnyEe4yHWM0SAkVUO-dWdG3zTfHYTAC4xHA2jfgh2GPhkyLmRuc2NyeXB0LWNlcnQucXVhZDkubmV0
sdns://AQMAAAAAAAAAEjEwMy44Ny42OC4xOTQ6ODQ0MyAxXDKkdrOao8ZeLyu7vTnVrT0C7YlPNNf6trdMkje7QR8yLmRuc2NyeXB0LWNlcnQuZG5zLmJlYmFzaWQuY29t
sdns://AQIAAAAAAAAAETk0LjE0MC4xNC4xNDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20
sdns://AQAAAAAAAAAACjguMjAuMjQ3LjIg0sJUqpYcHsoXmZb1X7yAHwg2xyN5q1J-zaiGG-Dgs7AoMi5kbnNjcnlwdC1jZXJ0LnNoaWVsZC0yLmRuc2J5Y29tb2RvLmNvbQ
sdns://AgMAAAAAAAAADDk0LjE0MC4xNS4xNSCaOjT3J965vKUQA9nOnDn48n3ZxSQpAcK6saROY1oCGQ9kbnMuYWRndWFyZC5jb20KL2Rucy1xdWVyeQ
```
Bootstrap servers:
```
208.67.222.222
1.1.1.1
208.67.220.220
9.9.9.9
8.8.8.8
149.112.112.10
2620:fe::10
2620:fe::fe:10
94.140.15.15
2a10:50c0::ad1:ff
94.140.14.14
2a10:50c0::ad2:ff
[2a10:50c0::ad1:ff]:5443
```
Same errors also noticed on previous versions (0.107.45 -- 0.107.46 -- 0.107.47)
### Expected result
No errors
### Actual result
Noticed some errors as reported
### Additional information and/or screenshots
_No response_
admon
May 6, 2024, 6:02pm
69
Since the repository changed to its own repository, I updated all commands.
Don’t worry if you are still using an outdated version of this script - update will happen automatically.