I have a debian server (gateway, web) which is behind ISP's NAT. I need access on webserver from my local network but domain has DNS record for external IP. Can I create "fake dns" for my local network with local server ip? I have bind9 on my server but I don't know what to do next... Can someone help me? Thanks...
|
feedback
|
|
Yes, you set up a local DNS server, and you only make it listen to your local IP's. You then add the domain to your local DNS server and set is as your primary DNS. Then you get your local IP returned by the DNS. | |||
|
feedback
|
|
You can use "split view" or "split horizon" DNS. That means that users from inside your network have different DNS answers from those outside. Here's a guide for setting this up with bind9: http://www.knowplace.org/pages/howtos/split_view_with_bind_9_howto.php | |||||
feedback
|