Our company is upgrading from 10.0R1.8 to the recommended version 10.2R3.10. The problem is when I upgraded the version, DNS query from the outside returns the private IP address of my servers instead of the public. I did some testing with my extra Juniper SRX 210 and found out that whenever I use static NAT, the DNS query from outside of our network resolves the private IP of the server. The Destination Nat resolves the public IP address from a DNS query from outside.
The authoritative DNS server for the domain name is behind my juniper.