I'm using Debian 9.1 with KDE and I noticed that resolv.conf gets cleared every time I disconnect or connect to the Internet. Why is that? Why doesn't it keep its contents?If its contents (at least partly?) depend on the connection-settings or the network or router connected to then shouldn't it keep the contents and only change them if necessary?Shouldn't all changes to it be authorized explicitly by the user?Another reason for why that is problematic is that it's hard to keep track and log changes to the file otherwise.
Why is resolv.conf emptied every time I dis/connect from the Internet in Debian?
debian;resolv.conf