The officially official Devuan Forum!

You are not logged in.

#1 2025-08-02 05:49:29

Strapicarus
Member
Registered: 2025-02-21
Posts: 4  

[SOLVED] System level DNS how to?

Hi,

i use netxdns setinng resolv.conf, but to my surprise i can not modify /etc/resolv.conf (i can but...), because the net stop working, no (dns) connection. after restar the wifi i notice that reslv.conf has change to the previous configuration, it is set/generated by networkManager each time the wifi connects, so how to set the prefered dns at system level?

have a nice day.

Offline

#2 2025-08-02 06:57:13

steve_v
Member
Registered: 2018-01-11
Posts: 480  

Re: [SOLVED] System level DNS how to?

a: Stop using NetworkMangler and set up your nameservers manually.
b: Disable DNS management in NetworkMangler (add dns=none and rc-manager=unmanaged to the [main] section in the config file) and set up your nameservers manually.
c: Install something that allows multiple sources (i.e. NetworkMangler + You) to mess with nameserver records, such as openresolv, then set up NetworkMangler to use it.

Debian apparently has it's own implementation of (c), but I have no idea how (or if, absent systemd) it works.

I also have no idea what this "nextdns" privacy-koolaid thing and it's "pipe curl to a shell" roll "installer" does to your DNS configuration, or whether it supports openresolv. That's for you to figure out if you want to use it.

Last edited by steve_v (2025-08-02 07:02:55)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#3 2025-08-02 07:59:26

Strapicarus
Member
Registered: 2025-02-21
Posts: 4  

Re: [SOLVED] System level DNS how to?

Thanks! @steve_v

setting/creating /etc/NetworkManager/conf.d/dns.conf /etc/NetworkManager/conf.d/rc-manager.conf

[main]
dns=none
rc-manager=resolvconf

i was able to modify /etc/resolv.conf and set the nameservers manually.
many thanks.

And i never

"pipe curl to a shell" roll "installer"

if i can do it by "hand".

And i use nextdns because i can't affor pi-hole or something similar. i could use quad9 but that does not allow me to set multiple levels of blocking for differents devices, routers, browsers.

Thanks again is working now.

Offline

Board footer