FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
493 views 0 comments
by anonymous
Hi everyone, I am trying to understand the manual for configuring my RUTX10 to run my own internal DNS server for all devices on my internal network, in order to be able to use a pi-hole.net internal service.

However, I obvioulsy fail to understand it since I do not manage to set up the DNS so it works.

I want all DNS requests on my LAN go to the Raspberry Pi, no exceptions. Is that even possible and how should I proceed to make it work?

I have followed the instructions given in related questions but I cannot see if it works or not, when running ifconfig /all on my PC the DNS is always 192.168.1.1 but my Raspberry Pi has a static address of 192.168.1.200

1 Answer

0 votes
by anonymous

Hello,

It should be enough to setup custom DNS server entries at the LAN interface configuration & custom DNS servers for DHCP service. All of this can be done via WebUI, at Network > Interfaces > [Edit LAN interface]:

  1. To add custom DNS servers for the router interface itself, simply enter your DNS server IP address into the "DNS servers" field. This will ensure that your router's LAN interface uses only the specified DNS server. 

Reference: https://wiki.teltonika-networks.com/view/RUTX11_Interfaces#General_Setup:_Static

  1. To edit DHCP server section, in the LAN interface configuration, navigate to Advanced Settings > DHCP-Options

Here, choose to use DHCP option 6, and then enter custom DNS servers that you would like to push out to your end-devices, 192.168.1.200 in this case. This will ensure that your end-devices receive the desired DNS server. 

Reference: https://wiki.teltonika-networks.com/view/RUTX11_Interfaces#DHCP_Server:_Advanced_Settings

Best regards,

Tomas.