I reproduced the dig tests below. It’s not always the same. This time 192.168.167.10 is problematic.
$ dig @103.86.99.100 google.com
; <<>> DiG 9.18.26 <<>> @103.86.99.100 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17530
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 60 IN A 192.0.0.88
;; Query time: 6 msec
;; SERVER: 103.86.99.100#53(103.86.99.100) (UDP)
;; WHEN: Tue Jul 09 18:04:54 EDT 2024
;; MSG SIZE rcvd: 55
$ dig @103.86.96.100 google.com
; <<>> DiG 9.18.26 <<>> @103.86.96.100 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50493
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 60 IN A 192.0.0.88
;; Query time: 5 msec
;; SERVER: 103.86.96.100#53(103.86.96.100) (UDP)
;; WHEN: Tue Jul 09 18:05:00 EDT 2024
;; MSG SIZE rcvd: 55
$ dig @127.0.0.1 google.com
; <<>> DiG 9.18.26 <<>> @127.0.0.1 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23923
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 60 IN A 192.0.0.88
;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Tue Jul 09 18:05:08 EDT 2024
;; MSG SIZE rcvd: 55
$ dig @192.168.167.10 google.com
; <<>> DiG 9.18.26 <<>> @192.168.167.10 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4429
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: b3c4e33438e13ee401000000668db41dd6e6f974eb1b6c55 (good)
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 60 IN A 192.0.0.88
;; Query time: 3261 msec
;; SERVER: 192.168.167.10#53(192.168.167.10) (UDP)
;; WHEN: Tue Jul 09 18:05:17 EDT 2024
;; MSG SIZE rcvd: 83
Now the host tests. The 2 external dns servers and 182.168.167.10 are problematic. Not always the case though. Intermittent. Not always 20 seconds, but 5 or 10 certainly.
$ time host google.com 103.86.99.100
;; communications error to 103.86.99.100#53: timed out
;; communications error to 103.86.99.100#53: timed out
;; no servers could be reached
real 0m10,046s
user 0m0,015s
sys 0m0,012s
$ time host google.com 103.86.96.100
;; communications error to 103.86.96.100#53: timed out
Using domain server:
Name: 103.86.96.100
Address: 103.86.96.100#53
Aliases:
google.com has address 192.0.0.88
google.com mail is handled by 10 smtp.google.com.
real 0m5,081s
user 0m0,015s
sys 0m0,010s
$ time host google.com 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:
google.com has address 192.0.0.88
google.com mail is handled by 10 smtp.google.com.
real 0m0,035s
user 0m0,011s
sys 0m0,013s
$ time host google.com 192.168.167.10
;; communications error to 192.168.167.10#53: timed out
Using domain server:
Name: 192.168.167.10
Address: 192.168.167.10#53
Aliases:
Host google.com not found: 2(SERVFAIL)
real 0m10,036s
user 0m0,015s
sys 0m0,012s
ca1624 is how I named what is supposed to be named wg0. It’s ca1624 on all my other computers. Being relatively new to fedora, I kept the same name. I’ve been on debian for 30 years…
$ sudo ls -l /etc/wireguard
total 32
-rwxr--r-- 1 root root 689 14 oct 2022 ca1555.conf
-rwxr--r-- 1 root root 677 10 oct 2022 ca1555.conf2
-rwxr--r-- 1 root root 690 13 avr 2023 ca1606.conf
-rw------- 1 root root 692 9 jui 12:48 ca1624.conf
-rwxr--r-- 1 root root 677 16 sep 2022 ca1625.conf
-rwxr--r-- 1 root root 689 24 oct 2022 ca1636.conf.dont-use-it-breaks-gmx
-rwxr--r-- 1 root root 678 27 jui 2022 ca-us66.conf
-rw-r--r-- 1 root root 246 13 avr 2023 commands.txt
$ sudo ls -l /etc/NetworkManager/system-connections/ca1624.nmconnection
-rw------- 1 root root 559 9 jui 17:49 /etc/NetworkManager/system-connections/ca1624.nmconnection
Now, Host results with openvpn instead of wireguard.
$ time host google.com 103.86.99.100
Using domain server:
Name: 103.86.99.100
Address: 103.86.99.100#53
Aliases:
google.com has address 192.0.0.88
google.com mail is handled by 10 smtp.google.com.
real 0m0,077s
user 0m0,013s
sys 0m0,014s
$ time host google.com 103.86.96.100
Using domain server:
Name: 103.86.96.100
Address: 103.86.96.100#53
Aliases:
google.com has address 192.0.0.88
google.com mail is handled by 10 smtp.google.com.
real 0m0,051s
user 0m0,010s
sys 0m0,014s
$ time host google.com 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:
google.com has address 192.0.0.88
google.com mail is handled by 10 smtp.google.com.
real 0m0,142s
user 0m0,014s
sys 0m0,014s
$ time host google.com 192.168.167.10
Using domain server:
Name: 192.168.167.10
Address: 192.168.167.10#53
Aliases:
google.com has address 192.0.0.88
google.com mail is handled by 10 smtp.google.com.
real 0m0,065s
user 0m0,014s
sys 0m0,013s