?
Solved

Redirecting Public Domain Name to Local IP When At Home

Posted on 2013-11-22
5
Medium Priority
?
862 Views
Last Modified: 2013-11-28
Good Afternoon -

I have an extensive home network which amongst many things includes hosting of a few different resources which I access locally and remotely.  When connected to the local WiFi, I access these resources via hostname or IP address.  When remote, I access them through a public domain name which I have pointed to my home network.  Below is what I'm talking about...

To Connect to Media Server / File Sync
- When Home (Connected to Local WiFi) I use 10.10.0.200:4444
- When Away from Home, I use mynetwork.net:4444 which obviously has a different, public IP when not connected at home.  (Ports are forwarded in router)

The Issue
The issue is that some of my services only allow you to enter a single host address so I must change it between the two above (for a few different apps) when at different locations.  This also includes bookmarks for services I host on one of my home services.

What I've Come Up With To Resolve So Far:
- Edit Hosts File on Each Device
I could edit each device's host file (if possible) by adding mydomain.net 10.10.0.200 which would work fine when home, but when remote it wouldn't.

- Create a DNS Entry on Router (Current DNS Server)
I don't have them on a domain and my home DNS server is a WNDR4500 Router which I cannot find a way to edit DNS.  

- Flash Router with Firmware Supporting DNS Editting
I have used DDWRT before and playing around now with OpenWRT on a different router.  I don't know if it supports DNS editing, but wouldn't see why it wouldn't.

- Use a Web-Based DNS Solution
I've tried, but don't currently use OpenDNS as a couple of sites didn't work well with it.  I don't know if adding entries is possible with it, though.  If so, is it the best to use or is there a better, more technical one?

- Create new DNS Server (and edit DHCP to use it for all devices)
I would think this would assume this may be my only hope.  If so, what's the best platform to use?  My primary "server" (Win7x64) which hosts most of the services, a dedicated box, or other?

Any Suggestions?  If you need any additional details or have questions, please let me know.

Thanks Guys!
0
Comment
Question by:BzowK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:kerick
ID: 39669766
I've done the hosts file change before.
I have 2 copies of the hosts file.
I create a batch file that will copy external host file to hosts(to use when I am away)
I create a batch file that will copy internal host file to hosts (to use when in)

create shortcuts and its one step to switch from internal or external hosts file
0
 
LVL 12

Expert Comment

by:Infamus
ID: 39669895
You  can use your primary Win 7 computer as DNS server.

http://maradns.samiam.org/

It says it is free and simple but I never used third party DNS server other than MS before.

Thanks.
0
 

Accepted Solution

by:
BzowK earned 0 total points
ID: 39671667
Thanks Guys -

I actually found a different solution which worked perfectly.  I installed DualDNS on my "server."  All I had to do was:
1. Install the binary I downloaded
2. Open the text based config file in the install folder and configure as desired
3. Start the service it installed (DualDNS)
4. Point my DNS to it

Unfortunatly, I found out that even though I have a top of the line router (WNDR4500), there seemed to be no way to edit what you wanted the DNS to be for the DHCP scope.  Luckily, DualDNS is also a DHCP server.  I disabled DHCP on the router, configured DualDNS DHCP via the same config file, then started it's DHCP server.

Worked like a champ.  Thanks!
0
 
LVL 12

Expert Comment

by:Infamus
ID: 39671673
Great to hear!!!
0
 

Author Closing Comment

by:BzowK
ID: 39683130
I was able to find the answer myself
0

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question