Hi all,
Host - Ubuntu 16.04
VM - Ubuntu 18.04
VirtualBox
VM can't ping domain but can ping IP address
$ ls -al /etc/resolv.conf
$ cat /run/systemd/resolve/stub-resolv.conf
$ cat /etc/network/interfaces
Several months before I encountered the same problem. Unfortunately I forgot the solution.
Please help. Thanks
Regards
satimis
Host - Ubuntu 16.04
VM - Ubuntu 18.04
VirtualBox
VM can't ping domain but can ping IP address
$ ls -al /etc/resolv.conf
Code:
lrwxrwxrwx 1 root root 37 Oct 13 13:54 /etc/resolv.conf -> /run/systemd/resolve/stub-resolv.conf
Code:
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "systemd-resolve --status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
Code:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
dns-nameservers 218.xxx.xx.xxx 219.xx.xx.xx
# The primary network interface
auto enp0s3
iface enp0s3 inet manual
# add bridge ports
auto br0
iface br0 inet static
address 192.168.0.89
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
bridge_ports enp0s3
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stop off
Please help. Thanks
Regards
satimis