Web lists-archives.com

Re: Can't find the DNS Servers




On Sun 01 Oct 2017 at 13:36:28 (-0700), Gary Roach wrote:
> OK, I've been remiss in getting you the information requested. I
> think what you need is in the attachments. Nowhere have I found
> reference to 8.8.8.8 and 8.8.4.4 name servers. I have tried serveral
> different ways to get them into the resolv.conf files and have
> failed.
> 
> Gary R.

> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> 
> ## The loopback network interface
> auto lo
> iface lo inet loopback
> 
> ##The primary network interface
> allow-hotplug eth0
> iface eth0 inet dhcp
> 
> 
> ##The bridge network interface to qemu virtual machine
> #auto br1
> iface br1 inet dhcp
>    bridge_ports br1
>    bridge_stp off
>    bridge_fd 0.0
> 
> dns-nameserver 8.8.8.8
> dns-nameserver 8.8.4.4
> 

> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> 
> ## The loopback network interface
> auto lo
> iface lo inet loopback
> 
> ##The primary network interface
> allow-hotplug eth0
> iface eth0 inet dhcp
> 
> 
> ##The bridge network interface to qemu virtual machine
> #auto br1
> iface br1 inet dhcp
>    bridge_ports br1
>    bridge_stp off
>    bridge_fd 0.0
> 
> dns-nameserver 8.8.8.8
> dns-nameserver 8.8.4.4
> 

Disclaimer: I know nothing about bridging, sorry.

Why doesn't this file have:

## The loopback network interface
auto lo
iface lo inet loopback

##The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
dns-nameserver 8.8.8.8        ← in the eth0 interface stanza
dns-nameserver 8.8.4.4        ← ditto

##The bridge network interface to qemu virtual machine
#auto br1
iface br1 inet dhcp
bridge_ports br1
bridge_stp off
bridge_fd 0.0

## … and then nameserver lines if bridging requires them.

Cheers,
David.