Jump to content
Reminder, starting today you will no longer be able to login to the forum using your display name, to login you must now use your email address. ×

Local DNS resolution through Netduma


louispc16
 Share

Recommended Posts

Hi, I just recently purchased a Netduma R2 but ran into a bit of an issue with my network setup. My plan was to use this router in front of my gaming machine to make use of the geo-filtering functionality but ran into some issues with my DNS. I have another OpenWRT router on my network which provides DNS to my network and also allows me to resolve hosts by their hostnames using the ".lan" domain internally. The issue I have encountered is that the Netduma will not forward these .lan domains as it just resolves them internally - I belive I have backed this up by looking at the system log and it seems Dnsmasq is configured in this way (log entry from Netduma below):

"Tue Nov 14 11:33:52 2023 daemon.info dnsmasq[8601]: using local addresses only for domain lan"

 

I thought of a few possible solutions to this problem and wondered if you could assist me or if you had your own suggestion:

  1. Can I just adjust the DNS server on my device to use my routers DNS bypassing the Netduma? Would this have any knock on impact to functionality on the Netduma? I understand adblocker probably won't work anymore but I'm not worried about that function as I have a pihole, just wasn't sure if IPsets are in use anywhere which rely on DNS resolution through the Netduma for geofiltering etc.
  2. Can the Netduma be reconfigured such that it passes all DNS requests through for specific domains (such as .lan & .local)?

 

Many thanks for your help in advance.

Link to comment
Share on other sites

Thanks for the welcome, glad to be here!

Yeah so thats what I am doing, I have the DNS configured on the Netduma to use the upstream DNS server provided by my router which works fine for the most part. The issue I am having is that any locally defined DNS entry within my router such as for example "router.lan" would fail to resolve as the Netduma is set-up internally to not pass ".lan" domains on and tries to resolve them locally itself (as far as I can tell). What I would like it to do is just pass on all DNS requests and not attempt to resolve these locally.

The alternative solution I can come up with is to just manually configure the DNS server on my computer to use my routers DNS (rather than the Netduma DNS) but as I said I wasn't sure if this would impact certain functions of the Netduma (aside from the adblocking which I'm sure it would but I'm not concerned about).

Link to comment
Share on other sites

  • Administrators

In theory no it shouldn't cause any issues, the router is still handing out a LAN IP address so is able to identify it and therefore apply Geo-Filtering - I don't think we've had anyone do that though so there may be issues we're not aware of but I wouldn't have thought so

Link to comment
Share on other sites

Okay great thanks, I have configured it this way and so far things seem okay but just wanted to make sure there wasn't any obvious issue with this such as if DumaOS used DNS resolution as part of its geofiltering process. I would have preferred to be able to configure DumaOS to pass on these DNS requests (or even have it pass out my own DNS server directly) so I don't have to manually configure DNS on devices I connect but I realise this is a bit of an edge case so happy to put up with it.

I'll do some more testing when I have some time later and come back if I find any issues.

Link to comment
Share on other sites

Just dropping back in to say so far this has been working as expected for me, Geo-Filter seems to be working great so for anyone thinking of doing this it seems to work no problem. Minor annoyance with setting the DNS servers on devices manually but since it's mainly for my PC this isn't a big deal, would be great if this was improved in the future though!

Also been playing around a bit with the new features in the early access firmware which seem great, looking forward to future updates.

Link to comment
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
 Share

×
×
  • Create New...