Thanks for the update. I have already gone through the topology and studied that. However this describes without firewall what if I plan to put firewall behind Peplink and let all filtering done by that firewall and natting only done by Peplink?
Also lets say I have two sub-domain delegated like test.example.com and foo.example.com. Now being a sub-domains NS servers will be the WAN links and in this case for the both the records my NS will be same [am I correct]?
So Can I specifiy separate A record for those 2 subdomains? if not how would forward traffic to different hosts if destined on same port i.e. 80.
test.example.com IN NS wan1.example.com
foo.example.com IN NA wan1.example.com
So in this case for both the records same IPs will be returned, so traffic for http://test.example.com ==> Natted to 172.16.1.30 and http://foo.example.com ===? 172.16.1.40
test.example.com IN A 220.127.116.11
IN A 18.104.22.168
foo.example.com IN A 22.214.171.124
IN A 126.96.36.199
188.8.131.52/184.108.40.206:80 ===> Natted to 172.16.1.30:80
220.127.116.11/18.104.22.168:80 ===> Nattd to 172.16.1.40:80
Can I do that way?