$ cat /etc/network/interfaces
source-directory /etc/network/interfaces.d
$ ls /etc/network/interfaces.d
setup
$ cat /etc/network/interfaces.d/setup
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
$ cat /etc/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
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.

nameserver 127.0.0.1
$ ls -la /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Sep 29 16:34 /etc/resolv.conf -> 
../run/resolvconf/resolv.conf
$ cat /run/NetworkManager/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1

Reply via email to