You are not logged in.
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
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"
"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
Thanks! @steve_v
setting/creating /etc/NetworkManager/conf.d/dns.conf /etc/NetworkManager/conf.d/rc-manager.conf
[main]
dns=none
rc-manager=resolvconfi 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
Would you mind elaborating on exactly what you did with the `/etc/NetworkManager/conf.d` files to make this work? I didn't quite understand.
UPDATE, tried this, not tested yet https://askubuntu.com/a/623956
Last edited by safari (Today 20:52:33)
Offline