I have some services set up on my computers at home. Currently I use a little script to determine if I'm at home, and if so use a LAN IP, and if not use my router's WAN IP to connect to these services.
I would like to simply use DNS for this instead.
This is my router: http://netgear.com.au/home/products/wirelessrouters/work-and-play/DGN2200.aspx
I have considered installing this: http://sourceforge.net/projects/modfs/ but it appears to be based on the original version of the firmware, which I had to update in order to get VPN working.
Should I:
- Edit hosts file entries on all my computers
- Try and get my router to do some DNS (maybe with telnet?)
- install BIND on one of my machines and configure my router to point to this machine for DNS at home (tried this but couldn't find where to configure this)
- ditch my router and install some kind of router software on one of my machines, and then use that for DNS
- Some other option I haven't considered
Basically I want the following:
Outside the network (already works):
- machine1.domain.com -> {WAN IP}
- machine2.domain.com -> {WAN IP}
Inside the network:
- machine1.domain.com -> 192.168.0.2
- machine2.domain.com -> 192.168.0.6
No comments:
Post a Comment