DynDNS works great! But help me understand why...

IndyJaws

Golden Member
Nov 24, 2000
1,931
1
81
Apologies in advance for seeming clueless. I just want to know why something is working (naturally curious, I suppose).

So I've set up a WHS and have been very happy with it. Now that I've got the proper port forwarding working on my router (done manually, since UPnP didn't work that well) and a static IP set for my server, I've been able to remotely connect using the username.homeserver.com website.

Not satisfied with just that, I decided to set up Dynamic DNS through DynDNS. Set up the account and entered the details in my router (it has a separate menu for configuring DynDNS, making it very easy). Connected to my server the first time I tried it. Great!

But here's my question. How did the DynDNS link know to automatically direct me to my homeserver.com website? It took the IP address assigned to my router and and somehow knew that's where I wanted to go. How? I have several computers connected to the router with NAT IP addresses. How did it know that the place I wanted it to go was my WHS logon page, as opposed to trying to connect to one of the other PC's on the network?

I realize these are completely idiotic questions, and I should be happy it just works, but I really want to better understand networking. Hardware, I got down. But I want to keep on learning. Can anyone help me understand?

Thanks in advance!
Indy
 

freegeeks

Diamond Member
May 7, 2001
5,460
1
81
Originally posted by: IndyJaws
Apologies in advance for seeming clueless. I just want to know why something is working (naturally curious, I suppose).

So I've set up a WHS and have been very happy with it. Now that I've got the proper port forwarding working on my router (done manually, since UPnP didn't work that well) and a static IP set for my server, I've been able to remotely connect using the username.homeserver.com website.

Not satisfied with just that, I decided to set up Dynamic DNS through DynDNS. Set up the account and entered the details in my router (it has a separate menu for configuring DynDNS, making it very easy). Connected to my server the first time I tried it. Great!

But here's my question. How did the DynDNS link know to automatically direct me to my homeserver.com website? It took the IP address assigned to my router and and somehow knew that's where I wanted to go. How? I have several computers connected to the router with NAT IP addresses. How did it know that the place I wanted it to go was my WHS logon page, as opposed to trying to connect to one of the other PC's on the network?

I realize these are completely idiotic questions, and I should be happy it just works, but I really want to better understand networking. Hardware, I got down. But I want to keep on learning. Can anyone help me understand?

Thanks in advance!
Indy

dyndns is only translating a domain name to an ip address, it has nothing to do with connecting to the correct service on your server. WHS is a service running on port 80 tcp. When you read a webpage from your server (http), you are actually setting up a tcp connection to port 80 on your router using the public ip address (translated by DNS). Your router will forward this request because of the port forwarding you configured to the right internal (private) ip address.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,480
387
126
Since your Router is DynDNS compatible it sends evrey time that your Extrenal IP changes the new WAN IP number to your account on the DyDNS server.

Every time that there is a request on the INterent to connect to your server the request goed to DyDNS that translate the request to your current WAN IP number.

In case of the address username.homeserver.com, WHS has s software routine that send your WAN IP to Microsoft DNS service and it works the same way as DyDNS.
 

RebateMonger

Elite Member
Dec 24, 2005
11,588
0
0
Originally posted by: JackMDS
In case of the address username.homeserver.com, WHS has s software routine that send your WAN IP to Microsoft DNS service and it works the same way as DyDNS.
Yeah, for Windows Home Server, I'd just stick with Microsoft's DNS service as long as it's working for you.
 

IndyJaws

Golden Member
Nov 24, 2000
1,931
1
81
Thanks to all of you who replied. Freegeeks really helped me understand with "When you read a webpage from your server (http), you are actually setting up a tcp connection to port 80 on your router using the public ip address (translated by DNS). Your router will forward this request because of the port forwarding you configured to the right internal (private) ip address." Now I understand that when the IP (as translated by DNS) is hit, it's port 80 that's causing it to display the WHS page. One of those eureka moments...now I feel stupid for asking.

One reason why I wanted to use the DynDNS option was because my work blocks *.homeserver.com, but they don't block *.dyndns.org (don't ask me why they don't do both). Unfortunately, there's still some firewall trickery going on there, since I still get timeouts when trying to remote access my PC at home. I can still access shares, but it won't let me remotely connect to a specific PC. One way or another, I'll figure it out.

Thanks to everyone for your help!
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |