Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #211951 > unrolled thread

Re: Which resolv.conf file?

Started byBob Bernstein <poobah@ruptured-duck.com>
First post2019-07-31 08:50 +0200
Last post2019-07-31 08:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.user


Contents

  Re: Which resolv.conf file? Bob Bernstein <poobah@ruptured-duck.com> - 2019-07-31 08:50 +0200

#211951 — Re: Which resolv.conf file?

FromBob Bernstein <poobah@ruptured-duck.com>
Date2019-07-31 08:50 +0200
SubjectRe: Which resolv.conf file?
Message-ID<ypQAV-68Q-1@gated-at.bofh.it>
Sorry! Switched machines and lost track of who I was!

---------- Forwarded message ----------
From: Bob Bernstein <bob@fanatick.org>
To: Debian User List <debian-user@lists.debian.org>
Subject: Re: Which resolv.conf file?
Date: Wed, 31 Jul 2019 02:37:40
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)

On Wed, 31 Jul 2019, Andrei POPESCU wrote:

> It depends a lot on what combination of packages you have 
> installed and
> are using.
> 
> Starting with the obvious ones, please show the output of:

Ok. One dotted-four required obfuscation in my humble judgement. I 
hope I got your list correctly:

$ apt list resolvconf
Listing... Done
resolvconf/oldstable,now 1.79 all [installed]

$ apt list network-manager
Listing... Done
network-manager/oldstable 1.6.2-3+deb9u2 amd64

ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 31 Jun 16 23:51 /etc/resolv.conf -> 
/etc/resolvconf/run/resolv.conf

$ systemctl status systemd-resolved
? systemd-resolved.service - Network Name Resolution
    Loaded: loaded (/lib/systemd/system/systemd-resolved.service; 
di
   Drop-In: /lib/systemd/system/systemd-resolved.service.d
            ??resolvconf.conf
    Active: active (running) since Wed 2019-07-31 00:36:51 EDT; 1h 
4
      Docs: man:systemd-resolved.service(8)
            http://www.freedesktop.org/wiki/Software/systemd/resolve
            http://www.freedesktop.org/wiki/Software/systemd/writing
            http://www.freedesktop.org/wiki/Software/systemd/writing
   Process: 2100 ExecStartPost=/bin/sh -c [ ! -e 
/run/resolvconf/ena
  Main PID: 2099 (systemd-resolve)
    Status: "Processing requests..."
     Tasks: 1 (limit: 4915)
    CGroup: /system.slice/systemd-resolved.service
            ??2099 /lib/systemd/systemd-resolved

$ cat /etc/resolvconf/run/resolv.conf # Dynamic resolv.conf(5) 
file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE 
OVERWRITTEN
nameserver aaa.bbb.ccc.ddd (obfuscated)
nameserver 8.8.8.8
nameserver 127.0.0.53

$ cat /etc/network/interfaces
# This file describes the network interfaces available on your 
system
# and how to activate them. For more information, see 
interfaces(5).

source /etc/network/interfaces.d/*

auto lo eth0
iface lo inet loopback

iface eth0 inet static
     address 192.168.1.40
     netmask 255.255.255.0
     gateway 192.168.1.1
     dns-nameserver 8.8.8.8

$ cat /etc/NetworkManager/NetworkManager.conf
cat: /etc/NetworkManager/NetworkManager.conf: No such file or 
directory

Thank you

-- 
These are not the droids you are looking for.

[toc] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web