Re: Which resolv.conf file?
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.
Reply to: