Solved

JAHT EAM-2104P adsl router, dyndns.org hostname & dynamic ip address config

Posted on 2007-04-07
18
1,291 Views
Last Modified: 2012-08-13
hi all,

please, can anybody help me figure out why neither my dyndns.org hostname nor my dynamic ip address is not resolving through my adsl router?

i have the following setup:

  * JAHT EAM-2104P adsl router
  * xp pro
  * a standalone http server listening on port 7001
  * port forwarding configured on the router for the machine running the http server
  * a free Dynamic DNS Hosts service  account with dyndns.org
  * a domain name registered with godaddy.com (mydomain.com)
  * a free dns name server account with zoneedit.com (my domain name points to zoneedit's name servers)
  * a CNAME record with zoneedit.com with an alias that maps the godaddy-registered domain name to my dyndns.org host name (mydomain.dyndns.org)
  * the dyndns updater app that automatically updates the dyndns.org's database with my dynamic ip address

NOTE:  the zoneedit.com name servers were mapped to the godaddy-registered domain name for the very first time at approx 13:00 PST on April 07,  2007

i have configured my adsl router for port forwarding as instructed here:
   http://www.portforward.com/english/routers/port_forwarding/Jaht/EA-2104G/HTTP.htm

i have confirmed that the port i configured for forwarding (7001) is open and accessible by pointing the following port auditing tool at my machine's ip addr:

  http://www.auditmypc.com/security-scan.asp

however, when i try either of the following in my browser:


   http://[my dynamic ip address]:7001
   http://mydomain.dyndns.org:7001

i get the following error:

  "The connection was refused when attempting to contact [whatever]:7001"

when i try the following in my browser:

   http://mydomain.com:7001

i get the following error:

  "www.mydomain.com could not be found. Please check the name and try again."

thanks in advance for your help.
0
Comment
Question by:wboyd
  • 9
  • 8
18 Comments
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18870677
First, you mentioned you "mapped to the godaddy-registered domain name " today. DNS changes take up to 48 hours to propagate over the Internet. So, it is possible everything is configured correctly but not yet propagated to your local  DNS servers.

What are you using to update the Dyndns account, the router or a software client from dyndns? The latter though not my preference, but it often works more dependably, at least at this point where you are still configuring.
http://www.dyndns.com/support/clients/

Work your way from the initial connection back to the source.
Check your current IP by going from your site to:
http://www.whatismyip.com
Next, does your dyndns domain name resolve correctly? You can check at a command line using;
nslookup mydomain.dyndns.org
This should return the IP located above.
If that works correctly try resolving your registered DNS name using;
nslookup  mydomain.com
If this doesn't work, either your DNS information has not yet propagated, or your "mapping" of the true domain name to the dyndns domain name, is not configured correctly. DynDNS has a paid service where you can map your true domain name to the dynamic IP, called "Custom DNS" which does eliminate one step.

You can also test your port forwarding by going to:
http://www.canyouseeme.org  and testing for port 7001
0
 
LVL 2

Author Comment

by:wboyd
ID: 18871300
thanks robwill,

 >...DNS changes take up to 48 hours to propagate over the Internet...

that's correct. the 2 dns changes i made was:

   1) modified the name servers of the mydomain.com.
   
   2) added a CNAME alias  to my zoneedit.com account.

how  does a name server change and the addition of a CNAME alias explain why the following 2 urls don't work?:

      http://[my dynamic ip address]:7001
      http://mydomain.dyndns.org:7001

 >...What are you using to update the Dyndns account..?

* the dyndns updater app (dl'ed from https://www.dyndns.com/support/clients) that automatically updates the dyndns.org's database with my dynamic ip address


 >...Next, does your dyndns domain name resolve correctly?..

yes, it does. both of the following urls bring up the router's admin pages:

   http://mydomain.dyndns.org
   http://10.0.0.2 (the router's default internal ip addr)

also, this is the output of nslookup; for this post, i manually replaced the real numbers of my dynamic ip addr with asterics ("*") for security reasons:

   > nslookup mydomain.dyndns.org
   Server:  cache0004.ns.eu.uu.net
   Address:  158.43.240.4

   Non-authoritative answer:
   Name:    mydomain.dyndns.org
   Address:  **.***.***.***

the ip addr represented by the asterics is exactly the same as the ip addr in dyndns.org's database.


  >...DynDNS has a paid service...

thanks. i was aware of dyndns' paid service. but right now i need help figuring out how to get my setup working with the free service i mentioned in my o.p. i will repeat my setup for what its worth:

   * JAHT EAM-2104P adsl router

   * xp pro

   * a standalone http server listening on port 7001

   * port forwarding configured on the router for the machine running the http server

   * a free Dynamic DNS Hosts service  account with dyndns.org

   * a domain name registered with godaddy.com (mydomain.com)

   * a free dns name server account with zoneedit.com (my domain name points to zoneedit's name servers)

   * a CNAME record with zoneedit.com with an alias that maps the godaddy-registered domain name to my dyndns.org host name (mydomain.dyndns.org)

   * the dyndns updater app that automatically updates the dyndns.org's database with my dynamic ip address


   >...If this doesn't work, either your DNS information has not yet    propagated...

thanks. i can understand how the name server propagation i noted in my o.p. would cause "http://mydomain.com:7001" to not resolve. but, please, can you explain how name server propagation would cause "http://[my dynamic ip address]:7001" and "http://mydomain.dyndns.org:7001" to not resolve?

fwiw: the latter 2 urls were producing the exact same result before i modified the "mydomain.com" domain's name servers.


   >...You can also test your port forwarding by going to:
http://www.canyouseeme.org...

thanks again. i am always grateful to learn about new tools. but like i said in my o.p., i had already established that port 7001 was open and accessible:

  "...by pointing the following port auditing tool at my machine's ip addr:

  http://www.auditmypc.com/security-scan.asp"

thanks anyway for your reply, robwill.  does anything else come to mind?
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18871467
Since it appears your dyndns service is working it must be the mapping with zoneedit.com Afraid I am not familiar with their services, so I cannot help with that. The only reason I had suggested the dyndns custom service, was you should be able to eliminate one service.
0
 
LVL 2

Author Comment

by:wboyd
ID: 18871537
thanks again robwill,

   >... it must be the mapping with zoneedit.com...

maybe. here is a snippet taken verbatim from the "Aliases (CNAME)" page of my zoneedit.com account:

  <snippet>The main instance that a CNAME is useful is for those domain name owners who use a dynamic IP address service. These services will keep track of the IP address of your server, even if it changes many times a day, and assign a domain name inside their zone to that IP address -- and will change it when necessary. If you would like to use your domain name instead of their subdomain name for your server, just create a CNAME for "mydomain.com" and "mydomain.com" and all your traffic will get rerouted to your server at home.</snippet>

the following is the most recent nslookup output (taken about 5 minutes before posting this comment):

   > nslookup mydomain.com
   Server:  cache0004.ns.eu.uu.net
   Address:  158.43.240.4

   Non-authoritative answer:
   Name:    mydomain.dyndns.org
   Address:  **.***.***.***
   Aliases:  mydomain.com


to me,  the above snippet plus the nslookup output suggests that the CNAME alias mapping appears to be correct.

here is another view of nslookup; passing it the zoneedit primary name server along with the domain name:

   > mydomain.com ns18.zoneedit.com
   Server:  ns18.zoneedit.com
   Address:  72.9.106.68

   Name:    mydomain.com
   Served by:
   - ns18.zoneedit.com

             mydomain.com
   - ns9.zoneedit.com

             mydomain.com

what is your take on the above info, robwill (or any other expert out there)? thanks again for your reply.
0
 
LVL 2

Author Comment

by:wboyd
ID: 18871550
oops! ok, the jig is up ;¬) as you can see from the above snippet: my actual domain name is "mydomain.com". i was trying to keep my actual domain name secret in this forum for security reasons by manually replacing it with "mydomain.com". i'm just paranoid like that ;¬)
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18872395
I was just suggesting it is a complex configuration where you are combining services of 3 companies. I see ZoneEdit also offers DDNS services.

Regardless, perhaps I have mis-understood.
Are saying  mydomain.com  does resolve correctly to the right IP?
But http://mydomain.com:7001 does not return a connection to your web server?
If so as I recall http://www.auditmypc.com/security-scan.asp  will confirm the port is open on the router, but not that it is forwarded to the correct device.  Using http:www.canyouseeme.org  or telneting from a remote site using "telnet 123.123.123.123  7001" will confirm the internal routing is correct. If that works, the web server is not actually listening on 7001.

As for you domain name above bing displayed, if you would like it removed just post on the community support form a request to remove it.
http://www.experts-exchange.com/Community_Support/
As for other contributers, I'm sure others will be around, but it is very quite this weekend.
0
 
LVL 2

Author Comment

by:wboyd
ID: 18872501
   >...Are saying  mydomain.com  does resolve correctly to the right IP?

yes. that is correct.

all of the following urls work (by "work" i mean they all resolve to the admin pages served by my router's internal http server):

  http://10.0.0.2
  http://**.***.***.***
  http://mydomain.dyndns.org
  http://mydomain.com

NOTE: "**.***.***.***" represents my currently-assigned dynamic ip address; obscured for security.

also, the following url works (that is: it resolves to the app deployed at port 7001):

   http://10.0.0.5:7001/myapp

NOTE:  10.0.0.5 is the LAN-side internal ip addr - assigned by the router - of the machine running the http web server

   >...But http://mydomain.com:7001 does not return a connection to your web server?

that is correct

the following urls do not work:

   http://mydomain.dyndns.org:7001/myapp
   http://mydomain.com:7001/myapp
   http://**.***.***.***:7001/myapp

by "do not work" i mean they all result in the same error message i reported in my o.p.
   
   "The connection was refused when attempting to contact [whatever]:7001"


   >...Using http:www.canyouseeme.org...

the result of a http://www.canyouseeme.org/ test on my current dynamic ip addr and port 7001:

   "Success: I can see your service on **.***.***.*** on port (7001)
   Your ISP is not blocking port 7001"

for what its worth, here is some more recent nslookup output:

============================
>nslookup -type=NS mydomain.com
Server:  cache0004.ns.eu.uu.net
Address:  158.43.240.4

Non-authoritative answer:
mydomain.com       canonical name = mydomain.dyndns.org

dyndns.org
        primary name server = ns1.dyndns.org
        responsible mail addr = hostmaster.dyndns.org
        serial  = 3458821356
        refresh = 600 (10 mins)
        retry   = 300 (5 mins)
        expire  = 604800 (7 days)
        default TTL = 600 (10 mins)

>nslookup -type=NS mydomain.com ns18.zoneedit.com
(root)  nameserver = A.ROOT-SERVERS.NET
(root)  nameserver = B.ROOT-SERVERS.NET
(root)  nameserver = C.ROOT-SERVERS.NET
(root)  nameserver = D.ROOT-SERVERS.NET
(root)  nameserver = E.ROOT-SERVERS.NET
(root)  nameserver = F.ROOT-SERVERS.NET
(root)  nameserver = G.ROOT-SERVERS.NET
(root)  nameserver = H.ROOT-SERVERS.NET
(root)  nameserver = I.ROOT-SERVERS.NET
(root)  nameserver = J.ROOT-SERVERS.NET
(root)  nameserver = K.ROOT-SERVERS.NET
(root)  nameserver = L.ROOT-SERVERS.NET
(root)  nameserver = M.ROOT-SERVERS.NET
*** Can't find server name for address 72.9.106.68: No information
Server:  UnKnown
Address:  72.9.106.68

mydomain.com       canonical name = mydomain.dyndns.org
mydomain.com       nameserver = ns18.zoneedit.com
mydomain.com       nameserver = ns9.zoneedit.com
============================


thanks again for you help.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18872530
>>"thanks again for you help."
afraid I haven't been any help.
I don't see it as an external DNS issue since the name resolves correctly. Obviously your other tests show the service is working on the correct port, at least internally, and the port forwarding seems to be correct. Only other two things I could see trying;
-enable another service on the web server, such as remote desktop, and see if you can connect from the outside using the domain name
-I did once see a case where the router would not forward any HTTP traffic to an internal server, when the remote web management of the router was enabled, even though it was a different port. Sounds like it is enabled, try disabling.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 2

Author Comment

by:wboyd
ID: 18873168
  >...Sounds like [remote web management] is enabled, try disabling.

it is not possible to "disable" the router's remote web management per se (not that i am aware of anyway). but i have tried (with no luck) what i believe are all possible permutations allowed by the "Miscellaneous Configuration" options as illustrated in the screenshot here:

   http://www.bluepoint.net/promos/oemnet073.htm#3.3.22
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18873182
If you choose "restricted" and "LAN", that should disable the external access, which is waht you want to achive for test purposes.
Must say that is just a long shot toward troubleshooting your actual problem, though as mentioned, one time it was an issue.
0
 
LVL 2

Author Comment

by:wboyd
ID: 18873220
 >...choose "restricted" and "LAN"...

all of the results that i have posted so far were produced with the router configured for  "restricted" and "LAN". i have tried (with no luck) what i believe are all possible permutations allowed by the "Miscellaneous Configuration" options ("restricted and LAN", "restricted and LAN and WAN", "restricted and WAN", "All", etc.). still, no luck.
0
 
LVL 2

Author Comment

by:wboyd
ID: 18873350
does anybody here know anything about nat? because i don't ;¬)

i have not made any changes to the router's default nat settings. but could modifying the router's nat configuration solve my problem maybe?

    http://www.bluepoint.net/promos/oemnet073.htm#3.3.8

thanks in advance for your help.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18873399
NAT =Network Address Translation. By default your router likely assigns private IP addresses like 10.x.x.x (or 192.168.x.x, or 172.16-32.x.x) to LAN clients so they can share 1 public IP. Years ago you needed 1 public IP for every internal IP or LAN device. Should be no need to configure this, even if the server is assigning the IP's through DNS. I some cases if you have multiple public IP's you may want to manually configure 1 to 1 NAT so that that one IP forwards all traffic to one device. In your case the port forwarding should address that.
0
 
LVL 2

Accepted Solution

by:
wboyd earned 0 total points
ID: 18873561
i have had a friend  - whose remote computer is not on my network - successfully load the following urls :

   http://mydomain.com:7001/console
   http://www.mydomain.com:7001/console
   http://mydomain.dyndns.org:7001/console

so, it looks like the domain setup was working all along (once the dns modifications completely propagated that is).  its just that for whatever reason, i couldn't hit it from inside my own network without  first mapping the host names to the machine's router-assigned ip addrs in my hosts file. adding the appropriate entries to the host file did the trick.

the funny thing is, before i even posted my original question, i had read the following ee thread which essentially is the answer to my problem - i just didn't bother to ask anybody outside my network to check the urls until just now:

         http://www.experts-exchange.com/Networking/Misc/Q_20786019.html

(see the next-to-the-last post by 11ods - timestamped "11.06.2003 at 05:21PM PST")

thanks anyway, robwill for your replies. much appreciated.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18873637
Sorry,
You didn't mention you were trying to connect to the outside address from the same LAN, i.e. inside. You cannot do that. It is effectively asking the packets to do a U turn.
0
 
LVL 2

Author Comment

by:wboyd
ID: 18873741
i think it is fair to say that i solved my problem myself. still, you did make an impressive effort, robwill; for which i am grateful. under those circumstances, what would you suggest is fair "compensation" for your replies, robwill.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18873828
Just ask for a refund in the Community support forum. No problem.
Cheers !
--Rob
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Join & Write a Comment

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now