Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

Failure to resolve google related domains via wireguard VPN

$
0
0
I have a fresh Debian 12 VPS that runs dnsmasq, stubby and wireguard so i can have my own VPN.
However for some unknown reason i cannot resolve youtube & google services while connected to the wireguard tunnel from my phone or desktop.
Other apps and domains work fine. If i try to go to youtube.com via firefox i get "Address not found".

I've used the same configs for a few years now on another OS, so rather puzzling why it is not working on Debian.
I've tried a different VPS provider to rule out that google is doing any sort of blocking against the current provider, i've also switched the dns resolver from cloudflare to google, to rule out that maybe it's an issue with cloudflare.

Configs:
dnsmasq.conf - https://paste.debian.net/hidden/2d6562a5/
stubby.yml - https://paste.debian.net/hidden/f1deca77/

I get no errors shown using the drill command so idk what program is to blame in this situation.

Code:

drill youtube.com;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 69;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION:;; youtube.com. IN      A;; ANSWER SECTION:youtube.com.    286     IN      A       216.58.206.46;; AUTHORITY SECTION:;; ADDITIONAL SECTION:;; Query time: 37 msec;; EDNS: version 0; flags: ; udp: 512;; SERVER: 127.0.0.1;; WHEN: Sat Aug  3 14:12:46 2024;; MSG SIZE  rcvd: 67;; EDNS: version 0; flags: ; udp: 512;; SERVER: 127.0.0.1;; WHEN: Sat Aug  3 14:12:46 2024;; MSG SIZE  rcvd: 67
UPDATE - so thanks to some awesome help from lunaphyte on #dns irc chan, it seems the phone is having issues with the domain www.youtube.com.
Some commands used to troubleshoot:

Code:

ping -c 10 www.youtube.com
- https://paste.debian.net/hidden/71188e94/

Code:

curl -v 'https://youtube.com'
- https://paste.debian.net/1325358/

Code:

curl -v 'http://youtube.com'
- https://paste.debian.net/hidden/5f804f98/
^ you can see here curl does not get any ipv4 addresses.

Code:

curl -v 'https://www.youtube.com/'
- https://paste.debian.net/hidden/53a8f70d/
^ here it just timed out.

Here's the results of ping and curl on another VPS (non-debian) using the same configs:

curl - https://paste.debian.net/hidden/e24adeaf/
ping - https://paste.debian.net/hidden/0c7c0775/

Statistics: Posted by cmm11 — 2024-08-03 14:14 — Replies 0 — Views 38



Viewing all articles
Browse latest Browse all 3423

Trending Articles