Banana PI W2 static ip config vs DNS


(József Tóth) #1

Hello,

I have a problem with the static IP configuration. In case of DHCP the name resolution working well. But if Im start using static ip configuration in /etc/network/interfaces file I have problem with dns. Can you help me please!? Thanks in advance!

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
        address 192.168.55.2
        netmask 255.255.255.0
        gateway 192.168.55.1
        dns-nameservers 192.168.55.1 8.8.8.8