You are not logged in.
Hello ,
i noticed that when installting packages with terminal commands,
there is a delay of some sort like
The following NEW packages will be installed:
avahi-autoipd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 58.2 kB of archives.
After this operation, 120 kB of additional disk space will be used.
Do you want to continue? [Y/n]
then i click "Enter"
0%working
appears and after 5-10 seconds it actually starts the job of downloading and installing.
Internet speed should be ok (around 130Mbit) , cable also i think.
Any suggestions?
Thanks
Last edited by kapqa (2022-01-16 10:49:59)
Offline
Can we see the content of /etc/nsswitch.conf & /etc/resolv.conf and also the output of
dig $(awk 'NR==1 {print $2}' /etc/apt/sources.list)
I presume you're using deb.devuan.org in your sources?
Brianna Ghey — Rest In Power
Offline
dig $(awk 'NR==1 {print $2}' /etc/apt/sources.list)
; <<>> DiG 9.16.22-Debian <<>> deb
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6456
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;deb. IN A
;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sun Jan 16 17:22:23 CET 2022
;; MSG SIZE rcvd: 21
deb http://deb.devuan.org/merged chimaera main contrib non-free
deb-src http://deb.devuan.org/merged chimaera main contrib non-free
deb http://pkgmaster.devuan.org/merged chimaera-security main contrib non-free
deb-src http://pkgmaster.devuan.org/merged chimaera-security main contrib non-free>
Offline
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.passwd: files
group: files
shadow: files
gshadow: fileshosts: files mdns4_minimal [NOTFOUND=return] dns
networks: filesprotocols: db files
services: db files
ethers: db files
rpc: db filesnetgroup: nis
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.nameserver 192.168.1.1
search home-life.hub
Offline
dig $(awk 'NR==1 {print $2}' /etc/apt/sources.list) ; <<>> DiG 9.16.22-Debian <<>> deb
Oops, sorry. I presume there's a commented line at the top of sources.list?
Let's try again:
dig deb.devuan.org
Run the command a few times to see if the Query time value changes significantly.
Do you still experience the delay if you replace http://deb.devuan.org/merged with a specific mirror?
Do you experience a delay when opening any web pages in the browser for the first time?
# /etc/nsswitch.conf [...] hosts: files mdns4_minimal [NOTFOUND=return] dns
Does removing the mdns4_minimal [NOTFOUND=return] statement fix the delay?
Why do you need Avahi anyway?
Brianna Ghey — Rest In Power
Offline
dig deb.devuan.org
; <<>> DiG 9.16.22-Debian <<>> deb.devuan.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6263
;; flags: qr rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 5, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;deb.devuan.org. IN A
;; ANSWER SECTION:
deb.devuan.org. 86400 IN CNAME deb.rr.devuan.org.
deb.rr.devuan.org. 1800 IN A 131.188.12.211
deb.rr.devuan.org. 1800 IN A 5.9.122.185
deb.rr.devuan.org. 1800 IN A 195.85.215.180
deb.rr.devuan.org. 1800 IN A 46.4.50.2
deb.rr.devuan.org. 1800 IN A 185.38.15.81
deb.rr.devuan.org. 1800 IN A 95.216.15.86
deb.rr.devuan.org. 1800 IN A 54.36.142.183
deb.rr.devuan.org. 1800 IN A 185.203.114.135
deb.rr.devuan.org. 1800 IN A 130.225.254.116
;; AUTHORITY SECTION:
rr.devuan.org. 1800 IN NS ns4.devuan.dev.
rr.devuan.org. 1800 IN NS ns5.devuan.dev.
rr.devuan.org. 1800 IN NS ns6.devuan.dev.
rr.devuan.org. 1800 IN NS ns3.devuan.dev.
rr.devuan.org. 1800 IN NS ns2.devuan.dev.
;; Query time: 655 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Jan 17 14:22:15 CET 2022
;; MSG SIZE rcvd: 308
after the first
dig deb.devuan.org
,
afterwards mostly 0msec , to 7msec.
I dont know if need Avahi, took it only because as sample at hand.
opening webpages most of the times is reasonably speedy.
removing
mdns4_minimal [NOTFOUND=return]
would not make any noticeable difference, if any, it took even longer to initiate the install of packages.
Really odd behaviour, the computer should be capable of being fast enough for simple tasks.
Offline
So did you try replacing deb.devuan.org with a specific mirror? Perhaps the round-robin thingy is broken.
Brianna Ghey — Rest In Power
Offline
it does sound like resolver issue.. you could try with a faster dns server instead of 192.168.1.1 (lan router), to see if that makes things go faster..
eg. pick one from https://opennic.org and add it in the top of /etc/resolv.conf and retry apt...
---
another guess, perhaps you have something like etckeeper or apt-listchanges installed?
packages like that hook into apt and could be slowing it.. (?) it's just a guess, but you could check/post what's in /etc/apt/apt.conf.d .
ls -la /etc/apt/apt.conf.d
Offline
@xinomilo , thanks i tried this opennic by just inserting
ns7.de.dns.opennic.glue
ontop of /etc/resolv.conf , but apt still takes around 10 seconds to initiate. (less time if smaller packages, but no regularitiy, time varies consistently)
Tried also with aptitude, seems even slower.
ls -la /etc/apt/apt.conf.d
total 36
drwxr-xr-x 2 root root 4096 Dec 22 21:23 .
drwxr-xr-x 8 root root 4096 Jan 16 17:24 ..
-rw-r--r-- 1 root root 82 Nov 27 16:52 00CDMountPoint
-rw-r--r-- 1 root root 40 Nov 27 16:52 00trustcdrom
-rw-r--r-- 1 root root 630 Jun 21 2021 01autoremove
-r--r--r-- 1 root root 122 Dec 22 21:23 01autoremove-kernels
-rw-r--r-- 1 root root 307 Mar 28 2021 20listchanges
-rw-r--r-- 1 root root 1040 Dec 22 2020 20packagekit
-rw-r--r-- 1 root root 182 Jun 10 2021 70debconf
lrwxrwxrwx 1 root root 35 Dec 10 19:48 88libdvdcss-pkg -> /usr/lib/libdvd-pkg/88libdvdcss-pkg
@Head can i just use one of those HTTPS? or which
https://www.devuan.org/get-devuan
Thanks!
Last edited by kapqa (2022-01-18 13:02:39)
Offline
I provided a link to the list in post #5.
Here it is again in non-obfuscated form:
https://pkgmaster.devuan.org/mirror_list.txt
EDIT: and yes, aptitude is hellaslow. Don't use it if you're in a hurry.
EDIT2:
i tried this opennic by just inserting
ns7.de.dns.opennic.glue
ontop of /etc/resolv.conf
That won't work — the format for the line would be
nameserver 94.247.43.254
But I don't think it would make much difference anyway because your ISP's DNS resolution isn't terribly slow and it appears to be caching requests.
Last edited by Head_on_a_Stick (2022-01-18 14:50:29)
Brianna Ghey — Rest In Power
Offline
@Head_on_a_Stick,
Great, thanks!
solution1 > changing to other devuan server in /etc/apt/sources.list did not achieve a betterment.
solution2> changing the nameserver in /etc/resolv.conf seems to really make the process go fast, but it would ultimately fail to download the packages?
sudo apt-get install tuxguitar
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
ca-certificates-java default-jre default-jre-headless java-common
libactivation-java libatk-wrapper-java libatk-wrapper-java-jni
libbcmail-java libbcpkix-java libbcprov-java libitext-java libmail-java
libswt-cairo-gtk-4-jni libswt-gtk-4-java libswt-gtk-4-jni
libswt-webkit-gtk-4-jni openjdk-11-jre openjdk-11-jre-headless oss-compat
tuxguitar-alsa tuxguitar-oss
Suggested packages:
libbcmail-java-doc libbcpkix-java-doc libbcprov-java-doc libmail-java-doc
fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei
| fonts-wqy-zenhei fonts-indic osspd lilypond tuxguitar-jsa timidity
The following NEW packages will be installed:
ca-certificates-java default-jre default-jre-headless java-common
libactivation-java libatk-wrapper-java libatk-wrapper-java-jni
libbcmail-java libbcpkix-java libbcprov-java libitext-java libmail-java
libswt-cairo-gtk-4-jni libswt-gtk-4-java libswt-gtk-4-jni
libswt-webkit-gtk-4-jni openjdk-11-jre openjdk-11-jre-headless oss-compat
tuxguitar tuxguitar-alsa tuxguitar-oss
0 upgraded, 22 newly installed, 0 to remove and 16 not upgraded.
Need to get 48.9 MB of archives.
After this operation, 190 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Ign:1 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 java-common all 0.72
Err:1 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 java-common all 0.72
404 Not Found [IP: 141.24.220.40 443]
Err:2 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera-security/main amd64 openjdk-11-jre-headless amd64 11.0.13+8-1~deb11u1
404 Not Found [IP: 141.24.220.40 443]
Err:3 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 default-jre-headless amd64 2:1.11-72
404 Not Found [IP: 141.24.220.40 443]
Ign:4 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 ca-certificates-java all 20190909
Err:4 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 ca-certificates-java all 20190909
404 Not Found [IP: 141.24.220.40 443]
Err:5 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera-security/main amd64 openjdk-11-jre amd64 11.0.13+8-1~deb11u1
404 Not Found [IP: 141.24.220.40 443]
Err:6 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 default-jre amd64 2:1.11-72
404 Not Found [IP: 141.24.220.40 443]
Ign:7 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libactivation-java all 1.2.0-2
Err:7 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libactivation-java all 1.2.0-2
404 Not Found [IP: 141.24.220.40 443]
Ign:8 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libatk-wrapper-java all 0.38.0-2+deb11u1
Err:8 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libatk-wrapper-java all 0.38.0-2+deb11u1
404 Not Found [IP: 141.24.220.40 443]
Err:9 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libatk-wrapper-java-jni amd64 0.38.0-2+deb11u1
404 Not Found [IP: 141.24.220.40 443]
Ign:10 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libbcprov-java all 1.68-2
Err:10 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libbcprov-java all 1.68-2
404 Not Found [IP: 141.24.220.40 443]
Ign:11 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libbcpkix-java all 1.68-2
Err:11 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libbcpkix-java all 1.68-2
404 Not Found [IP: 141.24.220.40 443]
Ign:12 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libmail-java all 1.6.5-1
Err:12 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libmail-java all 1.6.5-1
404 Not Found [IP: 141.24.220.40 443]
Ign:13 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libbcmail-java all 1.68-2
Err:13 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libbcmail-java all 1.68-2
404 Not Found [IP: 141.24.220.40 443]
Ign:14 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libitext-java all 2.1.7-12
Err:14 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libitext-java all 2.1.7-12
404 Not Found [IP: 141.24.220.40 443]
Err:15 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libswt-gtk-4-jni amd64 4.17.0-1
404 Not Found [IP: 141.24.220.40 443]
Err:16 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libswt-cairo-gtk-4-jni amd64 4.17.0-1
404 Not Found [IP: 141.24.220.40 443]
Err:17 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libswt-gtk-4-java amd64 4.17.0-1
404 Not Found [IP: 141.24.220.40 443]
Err:18 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 libswt-webkit-gtk-4-jni amd64 4.17.0-1
404 Not Found [IP: 141.24.220.40 443]
Err:19 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 oss-compat amd64 7
404 Not Found [IP: 141.24.220.40 443]
Ign:20 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 tuxguitar all 1.2-25
Err:20 http://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 tuxguitar all 1.2-25
404 Not Found [IP: 141.24.220.40 443]
Err:21 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 tuxguitar-alsa amd64 1.2-25
404 Not Found [IP: 141.24.220.40 443]
Err:22 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera/main amd64 tuxguitar-oss amd64 1.2-25
404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/j/java-common/java-common_0.72_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN-SECURITY/updates/main/o/openjdk-11/openjdk-11-jre-headless_11.0.13%2b8-1%7edeb11u1_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/j/java-common/default-jre-headless_1.11-72_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/c/ca-certificates-java/ca-certificates-java_20190909_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN-SECURITY/updates/main/o/openjdk-11/openjdk-11-jre_11.0.13%2b8-1%7edeb11u1_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/j/java-common/default-jre_1.11-72_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/j/javabeans-activation-framework/libactivation-java_1.2.0-2_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/j/java-atk-wrapper/libatk-wrapper-java_0.38.0-2%2bdeb11u1_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/j/java-atk-wrapper/libatk-wrapper-java-jni_0.38.0-2%2bdeb11u1_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/b/bouncycastle/libbcprov-java_1.68-2_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/b/bouncycastle/libbcpkix-java_1.68-2_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/j/javamail/libmail-java_1.6.5-1_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/b/bouncycastle/libbcmail-java_1.68-2_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/libi/libitext-java/libitext-java_2.1.7-12_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/s/swt4-gtk/libswt-gtk-4-jni_4.17.0-1_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/s/swt4-gtk/libswt-cairo-gtk-4-jni_4.17.0-1_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/s/swt4-gtk/libswt-gtk-4-java_4.17.0-1_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/s/swt4-gtk/libswt-webkit-gtk-4-jni_4.17.0-1_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/o/oss-compat/oss-compat_7_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch http://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/t/tuxguitar/tuxguitar_1.2-25_all.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/t/tuxguitar/tuxguitar-alsa_1.2-25_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Failed to fetch https://dist-mirror.fem.tu-ilmenau.de/devuan/merged/pool/DEBIAN/main/t/tuxguitar/tuxguitar-oss_1.2-25_amd64.deb 404 Not Found [IP: 141.24.220.40 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
sudo apt-get update
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:1 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera InRelease
Hit:2 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera-security InRelease
Hit:3 https://dist-mirror.fem.tu-ilmenau.de/devuan/merged chimaera-updates InRelease
Reading package lists... Done
Last edited by kapqa (2022-01-18 18:37:09)
Offline
this looks like an error with particular mirror repository. reproducible error here.
so, pick another mirror from the list, `apt update` and retry... works fine here using a different mirror.
Offline
@xinomilo, wow, big thanks ! using another mirrored fixed.
don§t know what changed, but with this "openNic" the download-things was superfast!
was thinking there is something wrong with my computer or cable , as i noticed also on ubuntu 18.04 LTS a big lag .
I moved the Computer into another room, and the cable is maybe 10 - meter long, and a little bit "twisted" here and there, but everything seems ok , otherwise, just those terminal commands taking way too long for my experience.
for now this seems a great "fix", but still am a bit baffled because of those delays in normal mode.
Offline
resolver delay is usually caused by ISP nameservers (resolvers).
some routers support editing nameservers so maybe you have luck changing default(ISP) nameservers to other public resolvers, and have your whole lan/devices, resolving(+loading) web quicker..
within your/any OS you can change nameservers and use eg. opennic (as you did on /etc/resolv.conf) or by editing settings in network managers connection.( usually ip settings -> nameservers -> enter your own manually...
another way is to install a local resolver (like unbound), which can also cache domain queries and make them faster...(search around guides on how to set local resolvers like unbound, plenty available online. can also help if needed).
kind-of-a-disclaimer : you would probably get same results when using any other public resolver eg. google, cloudflare, etc. opennic is a volunteer project not tied to internet mafias (ICANN or MAFIA). so, privacy friendly for sure... but anyway, that was my personal suggestion, you can use whatever resolver you like instead.
Offline
checked again, ubuntu seems fine, but it has different entry in /etc/resolv.conf
nameserver 127.0.0.53
options edns0
search home-life.hub
whereas Devuan shows (on the same Computer)
nameserver 192.168.1.1
search home-life.hub
EDIT: it seems that after reboot, the OpenNIC setting is deleted; but today, the downloads seem fine, in terminal it takes only around/under 1 second, to initate the download/installing process. It is still noticeably faster on Ubuntu, though.
Last edited by kapqa (2022-01-22 09:27:42)
Offline
checked again, ubuntu seems fine, but it has different entry in /etc/resolv.conf
nameserver 127.0.0.53 options edns0 search home-life.hub
So Ubuntu is using systemd-resolved then.
it seems that after reboot, the OpenNIC setting is deleted
If you read (or share) the entire file it probably explains that the content is managed by another program — usually either NetworkManager or resolvconf — and that any edits will be over-ridden. You should either make your edits to the configuration of the controlling program or stop that program from managing resolv.conf.
It is still noticeably faster on Ubuntu, though.
Try adding the options edns0 line as well. The round robin might be able to take advantage of the DNS extensions mandated by RFC 2671.
Brianna Ghey — Rest In Power
Offline
kapqa wrote:it seems that after reboot, the OpenNIC setting is deleted
/etc/resolv.conf states
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.
however,
resolvectl status
-bash: resolvectl: command not found
Offline
Yeah, resolvectl(1) is part of the systemd conglomerate so it would be worrying if it was found.
You can stop resolvconf(8) from managing /etc/resolv.conf by adding this line /etc/resolvconf.conf:
resolvconf=NO
See https://wiki.debian.org/resolv.conf for more on this.
EDIT: in case you're wondering what you're missing:
$ resolvectl
Global
Protocols: -LLMNR -mDNS +DNSOverTLS DNSSEC=yes/supported
resolv.conf mode: stub
Current DNS Server: 9.9.9.10#dns.quad9.net
Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 9.9.9.10#dns.quad9.net 8.8.8.8#dns.google
2606:4700:4700::1111#cloudflare-dns.com 2620:fe::10#dns.quad9.net
2001:4860:4860::8888#dns.google
Link 2 (enp2s0f0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS +DNSOverTLS DNSSEC=yes/supported
Link 3 (enp5s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS +DNSOverTLS DNSSEC=yes/supported
Link 4 (wlan0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS +DNSOverTLS DNSSEC=yes/supported
$
As you can see it's a really nice tool: a caching resolver with full support for DNSSEC, LLMNR, mDNS and DNS over TLS.
Last edited by Head_on_a_Stick (2022-01-24 19:29:20)
Brianna Ghey — Rest In Power
Offline