i have a firewall (in linux with iptables), that has 2 nic
eth0 --> 100.100.100.100 (the public ip)
eth1--> 184.108.40.206 (the first private ip , and acts like a gateway for the whole lan).
then i have the web server and the dns together
eth0 --> 220.127.116.11 (another private ip in the same range of 18.104.22.168)
so i was thinking if i install in 22.214.171.124 the local dns , so zimbra can resolve "locally" , the another i could install where the public ip is, so that server would use that ip to "say" that all my services are in that public ip.
but how can i connect those two servers each other to do the "translation" between local and public?
and the other question would be , in the server with the 2 interfaces, what dns server should i use first in the /etc/resolv.conf? my isp public dns server? my own public dns server? or the local resolver? (thinking that eth1 is the gateway for the lan)