У меня есть сервер Ubuntu 16.04.2, работающий дома.
У моего Ubuntu Desktop и всех других устройств есть рабочий / тонкий DNS.
Они не могут связываться с сервером по имени хоста. И сервер не может связываться с ними через имя хоста.
Только локальный DNS не работает и только на моем сервере Ubuntu.
Выход /etc/nsswitch.conf:# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
gshadow: files
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Вот результат работы / 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/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0
iface enp2s0 inet dhcp
/etc/resolv.conf показывает те же DNS-серверы, что и другие другие сетевые устройства ...