DNSFilter and IPv6 Works(?) Strangely

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

GHammer

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.
 

ColinTaylor

Part of the Furniture
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.
 

dave14305

Part of the Furniture
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
 

GHammer

Senior Member
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.
 

dave14305

Part of the Furniture
OT: This is who I imagine when I see @GHammer posts... :)

1612976696276.png
 

Similar threads

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