The following files contain a line "search somedomain.edu", which prevents me from accessing that domain (DNS error in a browser).
- /run/resolvconf/interface/systemd-resolved
- /run/resolvconf/resolv.conf
- /run/systemd/resolve/stub-resolv.conf
- /run/systemd/resolve/resolv.conf
If a edit these files manually to remove the line "search somdomain.edu", then it repairs the DNS temporarily, I can access the domain in a browser. After startup, these files are automatically updated and the line "search somdomain.edu" came back, which prevents me from accessing the domain again...
What I have tried. Editing the above files by hand does not work. I also looked for other files using
grep somedomain -r /run
and the same for /etc, /opt/, /usr.
Questions:
- How to I prevent these files from being updated?
- How to find the script that edits these files?\
More info: This problem appeared after I installed a proprietary debian package novell-iprint (which sets up printers at my institution). It did not work well, and I uninstalled the package. It seems that this package added a startup script that messes up the DNS. My diagnosis is that the removal of the package did not remove that startup script.