I am trying to set up OpenVPN to access systems at work. After a few issues with DNS I partially fixed it using the answer here: Openvpn client, force DNS server.
On the command line I can now nslookup and ping servers successfully with automatic domain searching. However wget requests or trying to load internal websites using Firefox fail to resolve the name. Accessing the websites by IP address succeeds.
How do I get name resolution to work correctly for web requests?