umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

Can't configure my own DNS servers

Open Smith334 opened this issue 10 months ago • 6 comments

I am running Umbrel OS on a Raspberry Pi4. I want to be able to configure my own DNS servers, but I can't seem to figure out how to either from the GUI or after I SSH into the machine.

I have tried to alter the "/etc/resolv.conf" file after I SSH in, but after I reboot the machine it overrides it with Cloudflare DNS servers.

nameserver 1.1.1.1
nameserver 1.0.0.1

I feel that configuring network-related information should be within the GUI of Umbrel OS.

Any ideas on how to do it in the meantime? My router already is configured to go to my own local DNS server, but Umbrel OS only want to go to Cloudflare.

Smith334 avatar Apr 06 '24 12:04 Smith334

sudo nano /etc/NetworkManager/NetworkManager.conf

Then, you can change the DNS servers. However, I'm unsure if this will be overwritten somehow later on.

saphirblanc avatar Apr 07 '24 09:04 saphirblanc

@saphirblanc Changing it in /etc/NetworkManager/NetworkManager.conf looks to do the trick. It's now pointing to my DNS server. Thanks

Smith334 avatar Apr 07 '24 09:04 Smith334

Great suggestion @Smith334. Happy to confirm that changing DNS servers via the UI is planned for the next umbrelOS release (1.0.5).

mayankchhabra avatar Apr 08 '24 18:04 mayankchhabra

Thanks @mayankchhabra , that's fantastic

Smith334 avatar Apr 08 '24 18:04 Smith334

Why does Umbrel comes with servers 1.1.1.1 and 1.0.0.1 by default instead of using the one supplied by local DHCP Server ? In general is always best use the local one of the ISP supplied one which is the nearest and with best performance instead of a more distant one from a third party.

@mayankchhabra good to do know that it will be possible to make such changes from the UI.

ffrediani avatar May 28 '24 05:05 ffrediani

Apologies folks, I missed updating you. We couldn't test the DNS changes in time for the 1.0.5 release, but it's now on-track for the next major release (1.3.0).

mayankchhabra avatar Jul 23 '24 16:07 mayankchhabra