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


Groups > linux.debian.user > #211952

Re: Which resolv.conf file?

From Bob Bernstein <bob@fanatick.org>
Newsgroups linux.debian.user
Subject Re: Which resolv.conf file?
Date 2019-07-31 09:00 +0200
Message-ID <ypQKC-6cB-7@gated-at.bofh.it> (permalink)
References <ypPYe-5Ud-5@gated-at.bofh.it> <ypQ7T-5XW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Which resolv.conf file? Bob Bernstein <bob@fanatick.org> - 2019-07-31 08:10 +0200
  Re: Which resolv.conf file? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-31 08:20 +0200
    Re: Which resolv.conf file? Bob Bernstein <bob@fanatick.org> - 2019-07-31 09:00 +0200
      Re: Which resolv.conf file? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-31 22:40 +0200
  Re: Which resolv.conf file? Judah Richardson <judahrichardson@gmail.com> - 2019-07-31 13:50 +0200
  Re: Which resolv.conf file? Nate Bargmann <n0nb@n0nb.us> - 2019-07-31 13:50 +0200
    Re: Which resolv.conf file? Maxim Svobonas <sp@nextcloud.spb.ru> - 2019-07-31 14:00 +0200
  Re: Which resolv.conf file? Curt <curty@free.fr> - 2019-07-31 14:00 +0200
  Re: Which resolv.conf file? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-07-31 14:50 +0200

csiph-web