Problem has been resolved. Turns out that dhcpd was constantly replacing /etc/resolv.conf with defaults. It was fixed by switching to manual configuration for internal network.