What's new

DNSFilter and IPv6 Works(?) Strangely

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

GHammer

Very Senior Member
So, I set this up with the help of @dave14305 and it has been working a treat.
Today, I had a problem with reaching a site and opened a command prompt on my Win 10 machine.
nslookup failed to resolve the domain, or any domain for that matter.

Code:
nslookup google.com
DNS request timed out.
    timeout was 2 seconds.
Server:  UnKnown
Address:  2901:19c:4900:fe::1

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out

Of course, my browser has no issue with google, or any other domain not blocked by my pihole.
Just curious as to why this would fail while browsers are fine.
The address is my router's LAN IPv6 Address which is given out as the sole IPv6 DNS entry via DHCP.
 
Browsers and Windows both cache DNS queries. So it's possible to continue to access certain sites for some time even when DNS has failed.

To clear the caches you would have to issue an ipconfig /flushdns and restart your browser.
 
I would guess your browsers are using IPv4 for DNS. The IPv6 support for DNS Filter isn't the same as IPv4. Remind me what your DNS Filters are set as? The output of these 2 commands might help see how it's setup.
Code:
ip6tables -t mangle -S | grep DNSFILTER
grep dnsf /etc/dnsmasq.conf
 
Browsers and Windows both cache DNS queries. So it's possible to continue to access certain sites for some time even when DNS has failed.

To clear the caches you would have to issue an ipconfig /flushdns and restart your browser.
DNS has not failed.
Reboot, flush DNS, all lovely.
Open a command window, no domain is resolved.
Fairly familiar with how it ought to work and how to ensure you're starting at a known place.
 
Yeah, it's a strange thing.
 
OT: This is who I imagine when I see @GHammer posts... :)

1612976696276.png
 
I normally say I'm related to MC.
Both date me...
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top