-   Linux - Networking (
-   -   Setup BIND for Local Domain and hosting domain (

ALInux 12-16-2006 06:58 PM

Setup BIND for Local Domain and hosting domain
Hi Guys
I have this setup where the linux box is the main firewal router and DNS server and i have got another windows 2003 server that acts as an active directory server for the local computers.The local domain is . I have setup BIND on the sarge linux box such that all the entries to are forwarded to the windows domain server so that users can login without having their requests routed to the internet and thus having to wait endlessly. However I have a problem, the mail server of the company is located on the internet and called I solved that problem by using a CNAME and manually mapping the mail entry under the zone. This worked however the mail servers IP address turned out to be dynamic and not I would like to add an entry to my that forward any request to to the DNS of my ISP instead of having to map it manually or instead of allowing it to be forwarded to my domain server.

I have read that adding a ns entry could help but I would like to see an example if possible, or any hints in the right direction please.
Thx for any suggestions.

chort 12-17-2006 01:01 AM

You should be able to add something like this to your zone for

mail    IN NS isp.dns.server1.
mail    IN NS isp.dns.server2.

And make sure you don't have any other entries for in your zone file.

ALInux 12-17-2006 05:03 AM

Thx..exactly what I was looking for..

chort 12-17-2006 07:30 AM

Gah, I forgot the trailing periods! Biggest nub mistake in BIND is forgetting the trailing periods. Make sure you have those...

ALInux 12-19-2006 03:26 AM

Do i have to add a trailing dot the dns server if it is and IP too ?

All times are GMT -5. The time now is 05:28 PM.