Mudi 7 & DNS Server

Hi,

I have a Flint 3 and a Mudi 7.

On the Flint 3, in the LuCI interface menu, I’ve changed the DNS settings for the WAN interface so that both the clients and the router send queries to the AdGuard Home DNS (I’ve set 127.0.0.1 on WAN and ::1 on WAN6).

Is it possible to set up a similar configuration on the Mudi 7 as well?

On which interfaces should I replicate the Flint 3’s configuration so that everything is routed via AdGuard Home?

Whether connected via SIM1 or eSIM, and even when used as a REPEATER (connection via public hotspots).
In short, if possible, however it is connected to the WAN (Ethernet, Wi-Fi, 5G/LTE)

Many thanks

Regards

Hi

On the Mudi 7, both the Ethernet (WAN) and Wi-Fi (WWAN) interfaces provide DNS configuration options in LuCI as well. However, the 5G/LTE interface does not.

One possible workaround would be to modify /etc/resolv.conf directly and make it immutable:

# Install the required tools
opkg update && opkg install chattr lsattr

# Remove any existing immutable flag
chattr -i /etc/resolv.conf 2>/dev/null

# Remove the existing symlink
rm -f /etc/resolv.conf

# Create a new file
echo "nameserver 127.0.0.1" > /etc/resolv.conf

# Make the file immutable
chattr +i /etc/resolv.conf

# Verify that the file is locked
lsattr /etc/resolv.conf

This should prevent other processes from modifying the DNS configuration in /etc/resolv.conf.

1 Like

Does this change apply to SIM1, SIM2 and any eSIMs?

Is it possible to create an interface on LuCI associated with 5G/LTE (SIM1, SIM2 and eSIM)?

It will apply to all WAN interfaces include Ethernet, WiFi, USB tethering, SIM1, SIM2 or eSIMs.

It may be possible to achieve this by configuring the interface to use the Unmanaged protocol, although we have not tested it in practice yet.

1 Like