Hello.
I am trying to set up AdGuard Home + Unbound and i have a strong suspicion it does not work as intended. I use my router as a repeater: it connected to the host router via wifi.
I installed luci-app-unbound and then followed this manual: packages/net/unbound/files/README.md at openwrt-19.07 · openwrt/packages · GitHub
I used the parallel dnsmasq section.
Unbound runs on port 5353.
If i disable unbound and AdGuard Home and reboot my router, then in web UI i see this:
Protocol: DHCP client
Address: 192.168.0.100/24
Gateway: 192.168.0.1
DNS 1: 192.168.0.1
DNS 2: 0.0.0.0
- 192.168.0.1 - IP of the host router
- 192.168.0.100 - IP of my router in the host network
/etc/resolv.conf:
search lan
nameserver 127.0.0.1
nameserver ::1
If i enable AdGuard Home and reboot, web UI looks the same, but /etc/resolv.conf looks like this:
# Interface wwan
nameserver 192.168.0.1
nameserver 0.0.0.0
But in AdGuard Home, in Settings -> DNS settings -> Upstream DNS servers i have only 127.0.0.1#5353, and on its main page in Top upstreams section i see only 127.0.0.1:5353.
If you want to suggest edit /etc/config/network, where that WWAN interface is, so i already tried it - its content resets after reboot.
So, my question is: does this work as intended? Why i see 192.168.0.1 everywhere? This is bothering me. Something is wrong in my opinion.
Router: MT3000
OpenWRT: 21.02-SNAPSHOT r15812+899-46b6ee7ffc
Kernel: 5.4.211
AdGuard Home: v0.107.46
Unbound: 1.16.0
Thank you.