a little help with BIND9
Recently i haved install and configured bind9 on a debian etch machine, with two domains that are already resolving names on the server working perfectly fine, but not exactly in the way that i want to.
The thing is that i have configured the DNS server to resolv the incoming petition to a WAN IP as is described in the zone file below :
innova-ingenieria.org. IN SOA ns.innova-ingenieria.org. admin@innova-$
innova-ingenieria.org. IN NS ns.innova-ingenieria.org.
innova-ingenieria.org. IN MX 10 ns.innova-ingenieria.org.
www IN A 22.214.171.124
mta IN A 10.0.0.180
ns IN A 10.0.0.180
.... so my problem is that i dont want that the petition be delivered on the IP 126.96.36.199. I need that the redirection be made on a local machine (10.0.0.180 for example) and the contents of the site could be viewed from outside.
A friend told me that this can be done but only if my DNS server works as the name resolver of my LAN.
Whe are trying to reduce the numbers of WAN IPīs (right know we have several sites working on diferents WAN IPīs)
ŋ Can somebody tell me how can i make this ?