Jump to content
skarz

XR500 forcing all devices to use router as DNS resolver

Recommended Posts

Hello all,

I recently installed Pi-hole on a Raspberry Pi to use as a local DNS resolver and ad blocker. Normally, in the Pi-hole logs you will see activity broken down by local IP of device (see attachment).  With the XR500 all DNS requests are coming through 192.168.1.1 which according to Pi-hole documentation, is potentially the fault of the router. Does anyone know how I can change this?

Thanks!

588909657_ScreenShot2020-11-18at6_21_54PM.png.f899e25f423d410dc511e80a15ee653f.png

1163208315_ScreenShot2020-11-18at6_24_26PM.png.5b9718b35ea028e125b50ed9bd293840.png

Share this post


Link to post
Share on other sites

You've done all you can on the router interface to try and get it to work that way. If seeing the individual devices is important to you then you could try using the Pi-hole as the DHCP server instead which is mentioned at the bottom of the link. Unfortunately there is nothing you can change make it force devices to use the Pi-hole DNS first.

Share this post


Link to post
Share on other sites
On 11/19/2020 at 2:23 AM, skarz said:

Hello all,

I recently installed Pi-hole on a Raspberry Pi to use as a local DNS resolver and ad blocker. Normally, in the Pi-hole logs you will see activity broken down by local IP of device (see attachment).  With the XR500 all DNS requests are coming through 192.168.1.1 which according to Pi-hole documentation, is potentially the fault of the router. Does anyone know how I can change this?

Thanks!

588909657_ScreenShot2020-11-18at6_21_54PM.png.f899e25f423d410dc511e80a15ee653f.png

1163208315_ScreenShot2020-11-18at6_24_26PM.png.5b9718b35ea028e125b50ed9bd293840.png

You can manually set your device names in Pi-Hole under the section called "Local DNS Records"

image.thumb.png.8b900169bfa7296b67086a33e960ff4e.png

Share this post


Link to post
Share on other sites
On 11/20/2020 at 4:40 AM, DanologyUK said:

You can manually set your device names in Pi-Hole under the section called "Local DNS Records"

image.thumb.png.8b900169bfa7296b67086a33e960ff4e.png

That is incorrect. This page is just a GUI for /etc/hosts basically.

Share this post


Link to post
Share on other sites
On 11/19/2020 at 4:57 AM, Netduma Fraser said:

You've done all you can on the router interface to try and get it to work that way. If seeing the individual devices is important to you then you could try using the Pi-hole as the DHCP server instead which is mentioned at the bottom of the link. Unfortunately there is nothing you can change make it force devices to use the Pi-hole DNS first.

Is there a workaround for this? The XR500 is the only router I've ever owned that does this...

Share this post


Link to post
Share on other sites
15 hours ago, skarz said:

Is there a workaround for this? The XR500 is the only router I've ever owned that does this...

There is no workaround that I am aware of unfortunately. Perhaps if you're able to connect it upstream of the XR then that could work.

Share this post


Link to post
Share on other sites
On 1/18/2021 at 11:13 PM, skarz said:

That is incorrect. This page is just a GUI for /etc/hosts basically.

Isnt that what you are trying to achieve though?

I can see all my hostnames (which i have set in this)

image.png.09e7cb93b7bf24d879264c5a1386617b.png

Share this post


Link to post
Share on other sites
On 2/9/2021 at 12:34 AM, DanologyUK said:

Isnt that what you are trying to achieve though?

I can see all my hostnames (which i have set in this)

image.png.09e7cb93b7bf24d879264c5a1386617b.png

I'm not sure how you got this to work properly, as the only IP address my Pi Hole sees is my router's IP as all DNS queries are sent through my router first. It's a purposeful Netgear feature called DNS relay.

Share this post


Link to post
Share on other sites
33 minutes ago, skarz said:

I'm not sure how you got this to work properly, as the only IP address my Pi Hole sees is my router's IP as all DNS queries are sent through my router first. It's a purposeful Netgear feature called DNS relay.

To get it to work, you will also need to set the DNS on each of the devices to your PI Hole IP Address. 

Share this post


Link to post
Share on other sites

Unfortunately that's not possible on 90% of my connected devices - smart TVs, WiFi cameras, printer, etc.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...