LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   bind9 config issue (http://www.linuxquestions.org/questions/linux-software-2/bind9-config-issue-858842/)

koszta5 01-26-2011 01:06 PM

bind9 config issue
 
Hi I am running a bind9 server and the thing is - I am not really sure I understood it right...

When I try to lookup www.myRentedDomain.com here: http://www.hcidata.info/host2ip.htm
I get 192.168.1.2 which is good, since it is the server with web on my local network (am connecting from another external IP now something like 78 ... ..... ). The external ip of the server network (192.168.1.0) is 213...... can I do this somehow:

have DNS query run to my server at 213 ..... => get the host (which is 192.168 something, ) , get the page I requested and somehow maquarade the address (192.168.1.2) to external ip 213....

??? Please :)

kbp 01-26-2011 05:32 PM

You need to provide different addresses depending on whether the request originates from inside or outside your network. Read up on split horizon, views and so on ... the are a couple of ways to set this up.


All times are GMT -5. The time now is 03:10 PM.