D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DIR-880L => Topic started by: square_eyes on September 13, 2019, 07:48:38 PM

Title: Static Route to Block Google DNS
Post by: square_eyes on September 13, 2019, 07:48:38 PM
I want to block Google 8.8.8.8 and 8.8.4.4 because I have a Pihole on my network doing DNS for me. The Pihole gives out DNS records as it's the DHCP server on my network (this is because the 880L refuces to allow setting a custom DNS server - but that's another issue - more info below).

Numerous devices have Google DNS hard coded. Tutorials online explan how to block Google DNS with a static route. However when I save my static route, for example... 8.8.8.8 gets saved/written as 8.8.8.0. I have no idea why, and 8.8.8.8 remains pingable on my network.

Example tutorial on using static routes: https://support.unlocator.com/article/177-how-to-block-google-dns-on-roku-using-d-link-router
My static route (with 0 digit manipulation on saving): https://imgur.com/a/2OVWdkn

DIR-880L    HW:A1    FW:1.08WW

More info
Explanation on lack of DNS LAN configuration: https://discourse.pi-hole.net/t/instal-of-pihole-on-dlink-router-not-working/5631/2
Title: Re: Static Route to Block Google DNS
Post by: FurryNutz on September 14, 2019, 08:44:24 AM
Is DNS Relay disabled on the 880L?
Title: Re: Static Route to Block Google DNS
Post by: square_eyes on September 14, 2019, 11:55:04 AM
Yes it is disabled.

I was able to block requests with the firewall, but what I want to do is actually forward requests to port 53 to my local DNS server (Pihole) using static routes - or at least back to my router.

Pretty sure it's a bug. When subnet mask is 255.255.255.0, I can't save a destination IP that doesn't end with 0. Or rather, I can, just the zero overwrites the digit on save. It dousn't mangle the digit using a different subnet, 255.255.255.255. But I can't then go and change the router subnet to that in the LAN settings - so my devices remain on .0 and the rules have no effect. Saving 255.255.255.0 in LAN settings, results in the form validation saying my router IP 192.168.0.1 is invalid! So another bug perhaps too.
Title: Re: Static Route to Block Google DNS
Post by: FurryNutz on December 27, 2019, 12:11:32 PM
Possibly just not supported at all in FW. Some operations need loopback which D-Link hasn't supported in some of there routers in a while.