Getting random nameserver lookup timeouts on 21.02.1

Hi, I am using my router to ISP connect to PPPoE.
ISP assigns both IPv4 and IPv6.

However, my nameserver lookups are having strange issue.
Am randomly getting lookup issues to google, amazon, etc. but webbrowsing works - sometimes need to reload.

Need some help to correctly fix this.

nslookup www.google.com
Server:  dns.google
Address:  8.8.8.8

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
Non-authoritative answer:
Name:    www.google.com
Addresses:  2404:6800:4001:808::2004
          172.217.174.164

Don't know if this is related but I noticed the WAN IPv4 that is listed in Luci totally different from what I check from whatismyip.net

Luci shows: 100.70.xxx.xxx
whatismyip shows: 180.75.xxx.xxx

Maybe there's packet loss, or perhaps your ISP hijacks DNS.
You can try to work around the latter with DNS encryption.

That's normal for clients behind CGNAT.

Thanks vgaetera for telling me about CGNAT.
Didn't know it was a thing. I checked and seems like my ISP put me and all their lower tier customers behind it.

About that DNS encryption, I did this the Luci instructions from this: DoH

Need advise on how to disable IPv6 for LAN and how to configure my Windows LAN clients to use it.
In Windows, I can manually set the IPv4 DNS to 192.168.1.1 but how to set the port to 5053 or 5054?

Cloudflare DoH at 127.0.0.1:5054
Google DoH at 127.0.0.1:5053

Generally speaking, there is no value to trying to get DoH/DoT between your router and your client devices. Once you have your OpenWrt router running DoH for the system DNS, your clients can simply use the router with standard DNS (i.e. 192.168.1.1:53).

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.