I have Googled a lot, and I am sorry if this question has been asked before, but I can't figure out which solution to choose for my problem.
The thing is, I am using my laptop both at home and at work. When I am at work I can't resolve any servers on the network. I get 'host unknown'. Resolving servers outside the network works fine - for example, I can ping google.com.
I tried to add my company's dns server in /etc/resolv.conf, but it is of cause overwritten when I reboot (I use networkmanager).
/etc/resolv.conf only contains two lines:
Code:
search companyname.dk
nameserver 127.0.0.1
I also have another resolv file: /etc/resolv.conf.predhclient which contains nameservers for my network at home. It contains both our dns servers and it works fine.... so why don't networkmanger add nameservers to resolv.conf? And how can I fix it?