Problem with DNS
Submitted by dnieu on Thu, 01/07/2010 - 11:27
I have a normal DSL account with no Static IP.
To point to my machine I use dyndns.org and no-ip.org
EHCP is setup on Ubuntu where the IP = xxx.xxx.16.40
Routers IP = xxx.xxx.16.254
dnsip = 22.214.171.124 this is my outside DNS
Now I have registered a domain at za.net and pointed to
the dyndns.org and no-ip.org
Everytime I wanne go to www.xxx.za.net it shows me now
that it cannot connect to the above dnsip.
The domain is pointing to my router but it gets the wrong information from EHCP.
Do I need a Static IP to run EHCP at home ?
Thu, 01/07/2010 - 11:38
static ip with ehcp is not a
static ip with ehcp is not a must, but, it is recomended.
because, with dyndns or noip, you cannot do a real hosting service, i think
you redirected necessary ports from your router to your server.
can you access your server internally by http://internalip ?
can you access your server, from outside: http://youroutsideip
these are initial steps.
if all ok, test dns from outside..
howto/helper at http://www.ehcp.net/helper/yardim/cats.php is a good starting point.
Thu, 01/07/2010 - 11:57
Shows external DNS
All ports are open on Router.
The domain is registered and shows to dyndns.org and no-ip.org
Local ip of server 192.168.16.60
dnsip (outside/real/static ip of server) 126.96.36.199
Router IP : 192.168.16.254
Real external IP : 41.243.xxx.223
Primary DNS : 188.8.131.52
Secondary DNS : 196.43.xxx
When I wanne see the domain www.xxxx.za.net it wants to connect to 184.108.40.206, and this is my outside DNS
Have already 5 domains on EHCP and it's working fine, for this 5 domains are hosted by another company, I only changed the cname's so that it should point to xxx.dyndns.org and it's working fine.
Thu, 01/07/2010 - 12:13
dnsip the problem
I have changed dnsip in EHCP to my real Static IP and it's working fine.
But this is not a solution for the problem.
Everytime my router reboots I need to change this dnsip in EHCP.
Any suggestions ?
Thu, 01/07/2010 - 14:58
yes, that is the real
yes, that is the real problem.
in this case, we need a patch to ehcp, that updates dns ip each time you re-connect/update your external ip.
what is tool that is provided with dyndns or no-ip.org ? (I dont know them much)
if there is a tool that say us current real/external ip, or ip that is registered in dyndns, then, i may write a small patch for ehcp, that updates that when needed..
that would be a permanent solution, isn't it ?
Thu, 01/07/2010 - 15:22
After I change this dnsip do I need to
What I'm trying to do is make small Windows appz, when IP change to connect to ehcp/misc Sql and post the new IP there.
You think this will work ?
I'm sorry for all the questions
Thu, 01/07/2010 - 15:25
dyndns and no-ip
dyndns you put the settings into you router.
and no-ip you download small windows program
Thu, 01/07/2010 - 15:52
i found a way for dyndns, i
i found a way for dyndns, i will patch ehcp soon, and send you new files. just wait a bit.
Thu, 01/07/2010 - 16:43
I found a way
Thank you very much.......
Thu, 01/07/2010 - 15:39
no problem for questions, I
no problem for questions,
I will try to help as much as I can, this site is for helping..
your procedure above is correct, (sync domains is not needed i think)
if you do a win app, that connect to ehcp and does it, that may solve your case,
but, I think to build a new patch for ehcp, that solves dynamic dns issues completely..
so, if you find a way to learn current dynamic ip of your router/dyndns, let me know.
i will also analyze this case.