General technical discussions.
hephie
New Member
Posts:
2
Joined:
Thu Apr 19, 2012 5:41 am

Using external DNS inside my LAN

Thu Apr 19, 2012 5:41 am

Hi All,

I think the subject gives a good first impression of what I'd like to achieve.
Anyway i'll give a little more context.

I'm running a Windows Home Server in my LAN and I would like to use it's functionalities (especially the streaming) features from "anywhere" using the same URL.
My router is a Linksys WRT160Nv3 running on the DD-WRT v24-sp2 firmware.

I've already setup the necessary port forwardings, as most of the WHS sites run on ports 80 (http) and/or 443 (https) and my isp is blocking all ports < 1024 (I know it suck, but nothing to do about)

Anyway, outside my network (friends home, work, ...) I can access my home server browsing to http://xxx.homeserver.com:10080 or https://xxx.homeserver.com:10443

What I want is that this (external) DNS also works when i'm inside my network (so when I'm at home).
Is this possible?


I want this because on the home page of the WHS web interface, I have some links (for example to sabnzb, or the webpage of my raid controller, etc etc, but they all point to http://xxx.homeserver.com:
These url's (with the external dns) are not working when i'm inside my lan.
I'm not an export but i'm quite sure it's a DNS issue.


Some more info:
When i do an nslookup xxx.homeserver.com I see the (external) static IP that has been assigned to my router.
When I do a ping to xxx.homeserver.com I also get a reply from the (external) static ip that has been assigned to my router.

Need more info? do ask!!

Thanks in advance!

Greetz,
Hephie

User avatar
ristau5741
Post Whore
Posts:
10340
Joined:
Tue Aug 21, 2007 2:15 pm
Certs:
Instanity

Re: Using external DNS inside my LAN

Thu Apr 19, 2012 7:35 am

you can either create a local host file, or,
where is DNS internal or external?
if internal you might need to run split brain dns.
Tips of the day:
- The human mind is the ultimate creation invention.
- I have so many customers, my customers have customers.
- Sausage time
- POP, stack, and store

hephie
New Member
Posts:
2
Joined:
Thu Apr 19, 2012 5:41 am

Re: Using external DNS inside my LAN

Mon Apr 23, 2012 10:34 am

the DNS server are external (i'm using the one from my ISP).
I could indeed try to update the host file, but I also use my iphone/ipad a lot, changing the host file there is not possible i think :(

So I need another solution then changing the hostfile :)

User avatar
mellowd
CCIE #38070
Posts:
13814
Joined:
Wed Jun 18, 2008 7:49 am
Certs:
CCIE (RS,SP), JNCIE-SP, BC-/SPNE/NP

Re: Using external DNS inside my LAN

Mon Apr 23, 2012 10:38 am

If you have a dd-wrt router you can use its built-in DNS server/cache. Then just set up a static entry on the router so that http://xxx.homeserver.com resolves to your internal IP when you're at home

'

Return to General Tech

Who is online

Users browsing this forum: YouDontWantToKnow and 16 guests