Hi Guys! I would like to ask a question about bind. For example I have an email server (with 2 LAN Cards, one is for Public and the other is for private) and I also want it to become my DNS server, I configured bind and have its MX records on it. Right now, its working, my domain name can now be resolved from the internet. On my local area network side, I used my email server's local IP address as my DNS for my workstation, its working for internet browsing. But when I ping my email server's domain name, (for example: example.com) the IP address that is answering is the Public IP address. Is it possible to configure DNS server BIND that whenever im inside my network, everytime i ping my domain, the one who should answer is Private IP address instead of Public? And whenever Im outside my network the one who will answer is the Public (Of course I will use my ISPs DNS when im outside). By the way Im using Ubuntu 8.04. I hope you can help me. Thanks! Joel
You can do that with access lists and 2 zone files for thesame domain. there is an excelent howto here on howtoforge: http://www.howtoforge.com/two_in_one_dns_bind9_views