Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when router is acting as a DNS proxy #83

Closed
sirajea opened this issue Nov 21, 2015 · 11 comments
Closed

Issue when router is acting as a DNS proxy #83

sirajea opened this issue Nov 21, 2015 · 11 comments
Labels
Issue: External issue Beyond the scope of the project

Comments

@sirajea
Copy link

sirajea commented Nov 21, 2015

My router (Fritz!Box) allows me to set the DNS servers to be used for name resolution so the router acts as a DNS proxy. I use the (local) Raspberry Pi as the DNS server for the router and this works, except on the devices connected to the router the domains it should block do not resolve at all instead of resolving to the Raspberry Pi. When I configure my devices to use the Raspberry Pi as a DNS server directly the domains do resolve. Does anyone else have the same issue?

@dschaper
Copy link
Member

I wonder if the Fritz is seeing a non-routable local IP address in the responses and is filtering the responses. I know with DNSMasq you can filter private addresses so it won't forward addresses that resolve to private address-space.

@jofrep
Copy link
Contributor

jofrep commented Nov 22, 2015

I use a Fritz!Box 7490 and could not add a local DNS server. I can to set any DNS server but not using a local IP.
See other users having the same problem https://forums.whirlpool.net.au/archive/1835726 https://forums.whirlpool.net.au/archive/1835726
I ended up using the Raspberry Pi to be the DHCP and DNS server to solve that problem.
Regards
Jofre

On 21 Nov 2015, at 22:17, sirajea <notifications@github.com mailto:notifications@github.com> wrote:

My router (Fritz!Box) allows me to set the DNS servers to be used for name resolution so the router acts as a DNS proxy. I use the (local) Raspberry Pi as the DNS server for the router and this works, except on the devices connected to the router the domains it should block do not resolve at all instead of resolving to the Raspberry Pi. When I configure my devices to use the Raspberry Pi as a DNS server directly the domains do resolve. Does anyone else have the same issue?


Reply to this email directly or view it on GitHub #83.

@jacobsalmela
Copy link
Contributor

So is it a Fritz!Box problem, or a Pi-hole problem? Or a combination of both?

@jofrep
Copy link
Contributor

jofrep commented Nov 23, 2015

IMHO is a Fritz!Box problem but I’d wait for sirajea to confirm

Acording to the vendor is a “security” feature to prevent rough DNS servers :-)

On 23 Nov 2015, at 17:29, Jacob Salmela notifications@github.com wrote:

So is it a Fritz!Box problem, or a Pi-hole problem? Or a combination of both?


Reply to this email directly or view it on GitHub #83 (comment).

@sirajea
Copy link
Author

sirajea commented Nov 23, 2015

@jacobsalmela @jofrep I think it's a Fritz!Box problem. It seems to filter local IP-addresses as @dschaper noted.

@DonLexos
Copy link

Not sure if it would work but you can try to set it to your WAN ip address and make sure you forward DNS port 53 to your pi internal IP. That way you would use the public (external) IP. This will open your DNS/Pi to others though (but it's worth a try to see if you can have it work like that).

@jacobsalmela
Copy link
Contributor

Closing since this seems to be Fritz!Box issue, not Pi-hole.

@leipert
Copy link

leipert commented May 8, 2016

If you have a current FritzOS (at least 6.50), you can change the DNS (English translations are guessed, as my Fritzbox is in German):

  1. Heimnetz (Home Net)
  2. Heimnetzübersichte (Home Net Overview)
  3. Netzwerkeinstellungen (Network Settings)
  4. IPv4-Adressen (IPv4 adresses)
  5. Lokaler DNS-Server (local DNS server)

screen shot 2016-05-08 at 11 04 47

Make sure your device refreshes it's DHCP session and the new DNS server is set. I couldn't test it yet with Pi-Hole, as my Raspberry Pi is broken and I am waiting for a new one 💃

Edit: source (german)

@sirajea
Copy link
Author

sirajea commented May 8, 2016

@leipert Thanks, will try this as soon as they release the international update!

@AzureMarker AzureMarker added the Issue: External issue Beyond the scope of the project label May 8, 2016
@sirajea
Copy link
Author

sirajea commented May 22, 2016

I just downloaded the international beta update and it's indeed possible to set a local DNS server now. Now I no longer have to configure each device in the network separately to use the Pi-hole. Awesome!

@Gravesy83
Copy link

This issue is usually solved by either updating to the newest fritz!os, or using the beta firmware on one's fritzbox for the most part.
I have several older models than the one sirajea uses (and the same one), and the DNS settings can be accessed on all of them...
However, i would like to note that some ISP's use modified firmwares that lock the user out of such settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: External issue Beyond the scope of the project
Projects
None yet
Development

No branches or pull requests

8 participants