Hello
Question about the pi-hole Does the pi-hole have to be registered as the only one in the network as DNS OR does it matter?

Show original language (German)
  • kaetho has responded to this post.

    Hi calgia

    I entered my pihole as the first DNS, the second DNS is that of Swisscom.

    The idea behind it: if the pihole fails (but it never has so far), the 2nd DNS would be used.

    30-01-_2021_12-15-51.jpg

    This is how it works for me so far.

    Show original language (German)

    @kaetho

    You will probably notice after a while that this setting does not work as desired. DNS 2 is not only used if the first one fails, the requests are distributed across both servers.

    Show original language (German)

    Hello

    So insert the Pi-Hole into both or delete one entry?
    Can the pi-Hole be operated on Ethernet and cable so that it can use both signals in parallel, so to speak? then you could enter the pi-hole at DNS 1 and 2.

    Kind regards

    calgia

    Show original language (German)

    I set DNS 1 to the Pi-hole IP and DNS 2 to 9.9.9.9 - works great


    @calgia wrote:

    Can the pi-Hole be operated on Ethernet and cable


    What do you mean by “Ethernet” and “cable”? What kind of cable?

    Show original language (German)

    ….keep on rockin'


    @krypton wrote:

    @kaetho

    After a while you will probably notice that this setting does not work as desired. DNS 2 is not only used if the first one fails, the requests are distributed across both servers.


    There are routers that have special settings for using up to 16 different DNS servers alternately for privacy reasons, for example…

    But the Swisscom Internet boxes don’t do that.

    Like my SU colleagues, I’m pretty sure that the Swisscom Internet boxes only use DNS 2 as a failover.

    Show original language (German)

    Hobby-Nerd ohne wirtschaftliche Abhängigkeiten zur Swisscom

    @sidney I’ve also had a lot of requests for the IB’s NAS service for a few days now. However, it may not be directly from the NAS but rather from the IB itself - this phone calls home to Swisscom for metrics, for example. Could be because of that; that the URL was simply named arbitrarily.

    Show original language (German)

    Kærar kveðjur - herzliche Grüsse
    Dominik

    a month later

    Hello

    This setting Notify DNS server via DHCP option 6

    There should be a link to an image here

    [https://community.swisscom.ch/t5/Internet-Allgemein/pihole-als-Werbeblocker-im-Heimnetz/td-p/630980](https://community.swisscom.ch/t5/Internet-Allgemein/ pihole-as-ad-blocker-in-the-home-network/td-p/630980)

    be

    I don’t have my IB3 with firmware 11.01.30/11.01.40/01598.

    Is this perhaps somewhere else on the IB3 and I can’t find it?

    Anyone an idea?

    Thanks

    Show original language (German)

    Thanks kaetho

    The update worked.

    Meischovio84_0-1614869668007.png

    The clients are now displayed.

    Meischovio84_1-1614869810807.png

    Only now advertising appears again.

    My settings:

    IPv6 disabled

    Meischovio84_2-1614869941933.png

    A second DNS server was deliberately left out to check whether it might be to blame.

    Cache is also disabled.

    Meischovio84_3-1614870012023.png

    DHCP option 6 enabled

    Meischovio84_4-1614870113249.png

    Tests:

    ➜ ~ scutil –dns | grep ‘nameserver\[0-9]*\’
    nameserver[0]: 172.21.131.17
    nameserver[0]: 172.21.131.17
    nameserver[0]: 192.168.1.2 <- pihole
    nameserver[0]: 192.168.1.2

    ➜ ~ nslookup googleads.g.doubleclick.net
    Server: 172.21.131.17
    Address: 172.21.131.17#53

    Non-authoritative answer:
    Name: googleads.g.doubleclick.net
    Address: 142.250.185.66

    It seems like the calculator is resolving over 172.21.131.17. But this IP doesn’t tell me anything.

    Anyone have an idea what it is?

    Edit:

    pi@pihole:~ $nslookup googleads.g.doubleclick.net
    Server: 195.186.4.162
    Address: 195.186.4.162#53

    Non-authoritative answer:
    Name: googleads.g.doubleclick.net
    Address: 172.217.168.66
    Name: googleads.g.doubleclick.net
    Address: 2a00:1450:400a:800::2002

    Why does pihole resolve this?

    Edit the 2nd:

    My adlist

    https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

    https://raw.githubusercontent.com/CamelCase11/UnifiedHosts/master/hosts.all

    https://www.sunshine.it/blacklist.txt

    Edit the 3.

    I may have found the problem. The calculator

    is connected to the business network with VPN. Now the domains are resolved via the business DNS. As soon as I interrupt the VPN, the advertising disappears.

    What I can’t explain is why this also happens to the cell phone, even though it shouldn’t have anything to do with the VPN.

    Show original language (German)
    5 months later

    I find having a central ad blocker in your own network very attractive.

    Everyone who surfs on my network is usually happy about the significantly ad-free websites, except of course those who, after a Google search, click or tap on one of the top images marked as an ad and then find that the jump to the The website linked behind it does not work.

    As @kaetho already mentioned in one of his early posts, this is a not so obvious consequence of a central ad blocker because, for example, the very frequently used Google domain “googleadservices.com” is also centrally blocked .

    Of course, you can now unlist “googleadservices.com” and a few other domains on the central ad blocker and then most of the bounces from the ads will work again, but I’m actually reluctant to consciously unblock the largest website trackers again.

    How are you currently dealing with it?

    Do you explain to your family members and Wi-Fi guests that all ads in your network are now blocked by default and will remain so and can therefore no longer be used as a jumping target, or do you just allow yourself to be reduced to individual whitelist entries for the big trackers?

    Show original language (German)

    Hobby-Nerd ohne wirtschaftliche Abhängigkeiten zur Swisscom

    I had to briefly explain this behavior to the family, but it hasn’t been an issue since.

    Simply scroll down two or three search results until you no longer see “Display” in front of it, and you’ll get further.

    Show original language (German)

    My sister always gets annoyed when she googles a product and then sees the DNS error message… My Eltern usually do this the classic way and go to https://digitec.ch or https://migros.ch and search for a product.

    Personally, out of laziness, I always get around the problem by briefly turning off WiFi and activating 5G :-). But of course it’s not that efficient either.

    Show original language (German)

    Kærar kveðjur - herzliche Grüsse
    Dominik

    @DomiP yes, of course that’s also a way 😉 It’s not like I never bypass the ad blocker. Video download from YouTube with the “double S trick” in the URL doesn’t work with piHole, for example. Then I just have to turn it off for a moment.

    Show original language (German)

    @DomiP yes, of course you could whitelist it. But a) I usually do this with the YouTube videos on my PC at home, where I can deactivate piHole briefly with “2 mouse clicks”, b) I hate configuring systems down to the last bit that only have a “limited amount” anyway “lifetime”, c) of course it’s “tricky”, the function is financed through advertising and d) I simply didn’t think that it could be whitelisted (the suffering from that isn’t great enough) 😉 -> I was just too lazy to do it until now 😉 😉

    Show original language (German)
    a year later