Hi all,
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
nslookup works
host works
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 ?
Solved it.
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
into
hosts: files dns mdns4_minimal [NOTFOUND=return] myhostname
I have the same issue on Ubuntu 22.04.
Your solution was not resolutive for me, I also had to open security settings and disable "Use secure DNS" option.
Using Chromiuim 103.0.5060.114 (Official Build) snap (64-bit)
Yes, now it's working in my (small) office as well.