[SOLVED] OpenWrt 24.10 broke ipv4 DNS routing

MrYadro

New Member
Mar 5, 2025
3
0
1
33
Saint Petersburg
yay.qa
I moved from my Google Wi-Fi to OpenWrt based router. Because I wanted more flexibility with my wifi setup. Ehh.

Here's my /etc/network/interfaces:

Code:
root@pve:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface enp8s0 inet manual

auto vmbr0
iface vmbr0 inet static
        bridge-ports enp8s0
        gateway 192.168.69.1
        address 192.168.69.100/24
        bridge-stp off
        bridge-fd 0

iface wlp0s20f3 inet manual

Seems like everything should be fine. But everything is broken.

I could dig, nslookup for a domain, but I can't ping , curl or wget anything

Code:
root@pve:~# dig google.com

; <<>> DiG 9.18.33-1~deb12u2-Debian <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40694
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: b6cee161f0b6f0f70100000067c793db57f7b668ca4da1b2 (good)
;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.             151     IN      A       142.250.75.238

;; Query time: 0 msec
;; SERVER: 192.168.69.1#53(192.168.69.1) (UDP)
;; WHEN: Wed Mar 05 02:59:23 MSK 2025
;; MSG SIZE  rcvd: 83

Code:
root@pve:~# curl google.com
curl: (6) Could not resolve host: google.com

curl: (6), hmm

The only thing that comes to mind, that it is something related to ipv6. Because:

Code:
root@pve:~# curl -4 google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>

Code:
root@pve:~# curl -6 google.com
curl: (6) Could not resolve host: google.com

But I think I did everything possible, I did multiple resets of router configs, I disabled ipv6 on it. I enabled ipv6 on proxmox and nothing helps. Crazy thing, everything else works fine, even my Washing Machine (what?) but proxmox and lxcs is not.

Any help is appreciated it's been like 3 sleepless nights jumping around the house with network cables and a laptop.
 
Last edited:
Router configuration problem.
use "dig -6 ..." and "curl -4 -v ..." "curl -6 -v ..."
check network / route configuration for ipv4/ipv6
 
Router configuration problem.
use "dig -6 ..." and "curl -4 -v ..." "curl -6 -v ..."
check network / route configuration for ipv4/ipv6
You are right but I still don't understand why my mac, android, tv, linux laptop is fine with my current setup but proxmox is struggling.

Code:
root@pve:~# dig -6 google.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused

; <<>> DiG 9.18.33-1~deb12u2-Debian <<>> -6 google.com
;; global options: +cmd
;; no servers could be reached

So I provided IPv6 DNS to Proxmox config, enabled dhcp v6 on every lxc. It worked for some time, but today everything back to it's broken state.