Can someone help as I am hoping this should be quite straightforward but I am loathe to blindly try editing Luci and screw things up considering how much time and effort I had to put in to get it working. I have tried to read the docs. but I am still not confident.
I have just converted my main router (D-Link DIR-882) over to OpenWrt 23.05.4.
I also have a AX3000T set up as a dumb AP (following the excellent Luci guide!) with ethernet backhaul to the DIR. There are different SSIDs on both for normal and guest connections (so 4 different SSIDs).
The DIR is connected to the ISP modem/router (supposedly in bridge mode) with a PPOE fibre connection.
Previously on the DIR I had specific DNS servers loaded on both IPV4 and 6 and want to use the same again as I want to avoid/bypass my ISP DNS.
9.9.9.9 and 1.1.1.1
2620:FE::FE and 2606:4700:4700::1111
Please let me know what if any config info is required - I can at least ssh into both routers
This is what I see when I look at properties when connected wirelessly to the DIR on my laptop -
SSID: DIR882
Protocol: Wi-Fi 5 (802.11ac)
Security type: WPA3-Personal
Network band: 5 GHz
Network channel: 36
Link speed (Receive/Transmit): 390/585 (Mbps)
IPv6 address: 2001:fb1:13a:286e::433
2001:fb1:13a:286e:4c:a6ab:b924:901
fdcf:2c6a:4fda::433
fdcf:2c6a:4fda:0:63e4:6c4e:134:3607
Link-local IPv6 address: fe80::ef63:181c:dfb6:82f9%19
IPv6 DNS servers: fdcf:2c6a:4fda::1
IPv4 address: 192.168.1.189
IPv4 DNS servers: 192.168.1.1
With the default settings the OpenWrt will advertise itself as the lan dns server and forward queries that are not in local cache to upstream dns servers.
So basically what you see on your laptop when connected to the WiFi of DIR or AX3000T is the IPs of the DIR
IPv6 DNS servers: fdcf:2c6a:4fda::1
IPv4 DNS servers: 192.168.1.1
Then the queries will be forwarded to quad9 and cloudflare.
Use dnsleaktest.com to verify which dns you are using.
and specifically -
Providing custom DNS with DHCP or Upstream DNS provider - both of which appear near the bottom of the page of that link.
If yes which is likely to be the better option and why? @brada4 reply to you as well.
Apologies for my confusion but are you saying that installed Openwrt lan DNS server forwards automatically to those 2 specific providers or you mention those as they were the ones I want to use?
In guest interface you may or may not enable ipv6, it depends on you. In wan you leave it as it is.
You need this change to make the wan6 interface active and configurable. Then proceed to assign the preferred DNS under advanced settings. If you keep it "auto" then a new interface called wan_6 is automatically spawned when the pppoe is up and you cannot configure its settings.
Apologies if I am being thick but did as suggested. Removed DNS from Lan so now nothing in lan - Advanced - "Use custom DNS servers"
Ok changed to Manual and the wan_6 interface that had been created disappeared.
However In Wan6 Interface - Advanced - there is nowhere to add DNS settings as it is currently configured so I am presuming I need to change something else?
Also for my understanding there is a line which says "Use DNS servers advertised by peer" which is still ticked - what does "peer" refer to - wan/isp or ?