I am trying to connect my ubuntu 18.04 to my company's vpn, Installation was no problem, I can connect, but then no dns hostname resolving is available.
dig can resolve hostname to IP
ping cannot resolve hostname to ip adress, firefox, chrome, both cannot resolve hostname to ip
when i use the ip adress directly in chrome then i get a security error "unauthorized user"
Does any one have a sollution ?
Not only was I able to dig/nslookup/host internal server, I could reach them on the corresponding IP adresses.
The fix I had to do is change my nsswitch.conf file to have host resolving done on files and second on dns.
The line I changed from:
hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
hosts: files dns mdns4_minimal [NOTFOUND=return] myhostname