Jump to content

Setup Custom DNS routes


Cath
 Share

Recommended Posts

Hello here!

So first, just to mention a typo here: image.png.5d17335852fcdffa7481d6aebd1a182b.png

And for my question! I actually have a custom DNS (Raspberry Pi) that acts like an Adblocker and DHCP. It's directly linked to my ISP Modem so everyone uses it (including the NetDuma). This works properly and as intended.

However, to access this, I used to do `pi.hole/`, which would have me get onto the Dashboard. This does unfortunately not work through the NetDuma. I can access it directly through the local IP so it's pretty fine.

Though, my ISP Modem IP is automatically redirecting me onto their "domain" (like it automatically changes into `myisp.modem.com`), and the issue is that this doesn't work either. Problem is that connecting through the IP directly redirects me everytime, so it's impossible to access my ISP Router (for changing stuff for example).

I had the same issue with the Raspberry at first, but managed to add it into the "Local DNS Records". However I couldn't manage to find a way to do it on the NetDuma.

Do you have any solution to be able to use custom DNS?

Thanks a lot!

EDIT: I didn't mention, but changing locally the hosts file works, but it means I have to have this setup on every device I connect to the NetDuma, which is more a bypass than a fix

Link to comment
Share on other sites

43 minutes ago, Cath said:

Hello here!

So first, just to mention a typo here: image.png.5d17335852fcdffa7481d6aebd1a182b.png

And for my question! I actually have a custom DNS (Raspberry Pi) that acts like an Adblocker and DHCP. It's directly linked to my ISP Modem so everyone uses it (including the NetDuma). This works properly and as intended.

However, to access this, I used to do `pi.hole/`, which would have me get onto the Dashboard. This does unfortunately not work through the NetDuma. I can access it directly through the local IP so it's pretty fine.

Though, my ISP Modem IP is automatically redirecting me onto their "domain" (like it automatically changes into `myisp.modem.com`), and the issue is that this doesn't work either. Problem is that connecting through the IP directly redirects me everytime, so it's impossible to access my ISP Router (for changing stuff for example).

I had the same issue with the Raspberry at first, but managed to add it into the "Local DNS Records". However I couldn't manage to find a way to do it on the NetDuma.

Do you have any solution to be able to use custom DNS?

Thanks a lot!

EDIT: I didn't mention, but changing locally the hosts file works, but it means I have to have this setup on every device I connect to the NetDuma, which is more a bypass than a fix

It's under the WAN setting and you click and open the Advanced section. It will be there where you can add your custom DNS, but also disable the Upstream DNS in order to use your custom DNS.

Link to comment
Share on other sites

25 minutes ago, Alex49H said:

It's under the WAN setting and you click and open the Advanced section. It will be there where you can add your custom DNS, but also disable the Upstream DNS in order to use your custom DNS.

Thanks for the answer!

My Raspberry is replacing my Modem's DHCP and it seems the Upstream DNS is actually the correct one (I can see my requests on my Pi correctly), but I don't get why I can't access the custom ones (which should be correctly redirected using my custom DNS). I tried removing the Upstream DNS but it didn't fix it... While using modiying the hosts file works.

Maybe I've got something that's badly setup... I feel like It should be working :( I'm missing too much knowledge 🥲

Link to comment
Share on other sites

23 minutes ago, Netduma Fraser said:

Thanks for the typo, will pass that on. I'm not sure what would be affecting that really, could you try disabling Adblocker and see if that works please?

Disabling Adblocker didn't fix the issue unfortunately. But I had quite the same issue at first on the Pi so maybe it's something "normal", and that if I want this I should have a specific "custom DNS" on the NetDuma to do this, which is not something that is public in this case.

For example, I can set this on my Pi:

image.png.1be3bce1bb12b34feaf3d12863a61ff5.png

Which would make me connect to my ISP Modem when I enter `my-super.domain.com.wow`. This however does not work from the NetDuma's network.

I have workarounds, but I was wondering if there was an easy way to do it!

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...