I have a Virtualbox VM running Ubuntu 19.05 Desktop version and the network is managed by NetworkManager. It has two interfaces attached to NAT and HostOnly networks.
Due to some reason, I was not able to ping my office site and when I looked up in resolv.conf I see that its a symbolic link auto generated by systemd-resolve.
One thing that caught my attention was that the name server was set as below:
The following sequence of steps helped me in resolving this issue:
UI NetworkManager --> IPV4 --> Set DNS to Manual and add 1.1.1.1, 8.8.8.8 for dns.
Then run the below command
Hope this helps someone out there.
Due to some reason, I was not able to ping my office site and when I looked up in resolv.conf I see that its a symbolic link auto generated by systemd-resolve.
One thing that caught my attention was that the name server was set as below:
nameserver 127.0.0.53
The following sequence of steps helped me in resolving this issue:
UI NetworkManager --> IPV4 --> Set DNS to Manual and add 1.1.1.1, 8.8.8.8 for dns.
Then run the below command
sudo dhclient
Hope this helps someone out there.
Comments