Somente o DNS local não está funcionando

0

Eu tenho um servidor Ubuntu 16.04.2 rodando em casa.

Meu Ubuntu Desktop e todos os outros dispositivos têm DNS funcionando / bem.

Eles não podem se comunicar com o servidor por meio do nome do host. E o servidor não pode se comunicar com eles via hostname. No entanto, o servidor pode ver o mundo exterior ( ping www.google.com ) muito bem.

Apenas o DNS local não está funcionando e apenas no meu servidor Ubuntu.

Saída do /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

Aqui está a saída de / 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 mostra os mesmos servidores DNS que os meus outros dispositivos de rede ...

    
por matrix8967 09.07.2017 / 04:56

0 respostas