Good day, I am using Zentyal, configured with 2 interfaces, one internal and one external. When solving the servers hostname and aliases, bind randomly returns the external address in the results. The problem of course is that the local net can not talk to the external net, and breaks the services randomly. Example:
dig proxy.private.example.com
;; ANSWER SECTION:
proxy.private.example.com. 259200 IN CNAME zentyal.private.example.com.
zentyal.private.example.com. 900 IN A 192.168.122.73
zentyal.private.example.com. 900 IN A 10.10.20.40
10.10.20.40 is on the internal net and the address we should always resolve.
How do I exclude the interface "192.168.122.73" from the results? What would my bind config look like?
ps: I have searched for 3 days now; it is possible I am looking for the wrong things.
Your help is much appreciated.