LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Bind conditional DNS responses? (https://www.linuxquestions.org/questions/linux-server-73/bind-conditional-dns-responses-619674/)

300zxkyle 02-08-2008 12:57 PM

Bind conditional DNS responses?
 
I'm administering a network with a forwarded domain. The users would like to be able to use the same url to visit the site inside the network as is normally visible from the internet. Is there some way to make a conditional entry in bind that would change the name resolution for the internal network?

JimBass 02-08-2008 01:28 PM

Yes, you want to use views, so that anyone inside the LAN gets the LAN address for the site, and anyone outside the LAN gets the WAN address for the site. I wrote up an example how to do that here:

http://www.linuxquestions.org/questi...9/#post3046408

Peace,
JimBass

300zxkyle 02-11-2008 03:43 PM

Perfect
 
Perfect! This was exactly what I was looking for. Who would have thought it was so simple. Thank you sir.

JimBass 02-11-2008 05:35 PM

No problem, BIND is one piece of software I feel very comfortable with.

Peace,
JimBass


All times are GMT -5. The time now is 05:06 AM.