/etc/hosts, I can for example input
Now I have a nameserver (pdns with postgre-backend), which I want to use in the intranet.
So, I tell my dns server, that
example.com is, for example,
Assuming the DNS server runs on 192.168.1.64, how can I replace
/etc/hosts with my nameserver ?
That is to say, it should resolve example.com to 192.168.1.2 (using the DNS on 192.168.1.24), but any other domain that I did not overwrite locally should be resolved to its real IP, using whatever is used by default.
Where do I have to put this in Ubuntu 14.04 ?