User Tools

Site Tools


ubuntu:etc:resolv.conf:identifying_which_utility_currently_controls_your_etc_resolv.conf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:etc:resolv.conf:identifying_which_utility_currently_controls_your_etc_resolv.conf [2020/05/13 17:43] – created peterubuntu:etc:resolv.conf:identifying_which_utility_currently_controls_your_etc_resolv.conf [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Ubuntu - etc - resolv.conf - Identifying which utility currently controls your /etc/resolv.conf ====== ====== Ubuntu - etc - resolv.conf - Identifying which utility currently controls your /etc/resolv.conf ======
 +
 +Several DNS-related programs want to automatically manage the DNS name server and resolution configuration file at /etc/resolv.conf.
 +
 +There are quite a few different tools that fight to control a Linux system’s DNS resolution configuration file including /etc/resolv.conf including netconfig, NetworkManager, resolvconf, rdnssd, and systemd-resolved.
 +
 +Most of these tools are oblivious to each other’s presence which can cause DNS resolution problems.
 +
 +----
 +
 +===== Identifying which utility currently controls your /etc/resolv.conf =====
  
 <code bash> <code bash>
Line 19: Line 29:
 # Third party programs must not access this file directly, but only through the # Third party programs must not access this file directly, but only through the
 </code> </code>
 +
  
 <WRAP info> <WRAP info>
Line 34: Line 45:
 lrwxrwxrwx 1 root root 39 Aug  9  2019 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf lrwxrwxrwx 1 root root 39 Aug  9  2019 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
 </code> </code>
 +
 +As a last resort, you can check your init system to see if any of the programs mentioned in this article are running.
 +
 +If you can’t identify any management programs using these methods, chances are you should be in control over the resolv.conf file and your system’s DNS resolution.
 +
 </WRAP> </WRAP>
  
ubuntu/etc/resolv.conf/identifying_which_utility_currently_controls_your_etc_resolv.conf.1589391838.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki