I’m using for my NethServer same domain as my external web server.
So I defined host names with external IP-adresses, f.e. for external pop-server.
file /etc/hosts seems to be created correctly.
But if I ping to one of these servers, local host answered… - obviously the order of etc/hosts and DNS is not correct. Insertion of “order hosts,bind” in /etc/host.conf solves the problem…
My question is: is the file /etc/host.conf also modified by templates or is this the solution?
I am using f.e. domain.com as my domain.
So my server is named nethserver.domain.com
I have to fetch my mails from my external pop-server with the same domain, pop.domain.com
So I created the hosts in the dashboard - I see them also in the file /etc/hosts
But a ping pop.domain.com answers to 192.168.22.10 (local server) and not to 10.10.10.10 (external).
Command host pop.domain.com shows 10.10.10.10 AND in the second row 192.168.22.10
It’s interesting that ping pop answers correct to 10.10.10.10…