3 ms·
I do: chattr +i /etc/resolv.conf on my own servers to stop things from fiddling around with it.
by rwmj 6y ago
I do:
chattr +i /etc/resolv.conf
on my own servers to stop things from fiddling around with it.
- snus-kin 6y agoIt seems kinda brutal to just stop writing, but I guess there's a bit of a dogpile for writes on this file, does dhcpconf let you specify DNS servers kind of a 'layer up' from resolvconf?
- 411111111111111 6y agoI usually just add it to either netplan or cloudconfig, whichever is active. Both of them have yaml syntax though, which is imo extremely unfortunate for this kind of configuration.