Link to home
Start Free TrialLog in
Avatar of embarc
embarc

asked on

Problem with private ip in DynDNS

I am using internet through GPRS for a vehicle tracking application and where the requirement is that ip of the type 10.x.x.x that is generated by the GPRS internet connection needs to be updated to the internet.

I am using DynDNS updater to update the ip but DynDNS updater does not update it stating that it is not a public ip. When I check ip using http://checkip.dyndns.org? it gives some public ip and when I check using ipconfig /all using cmd it gives ip of the type 10.x.x.x

I added the line UseLanIP=1 in the options section of DynDNS config file and that solved the problem partially that I did not get the not public ip error message but then it started detecting the ip address of my lan card 192.168.1.30 or sometimes 127.0.0.1

As a workaround I first connect to internet and then run DynDNS and then it gives ip of the type 10.x.x.x

Please inform what is the correct method to update ip of the type 10.x.x.x on the internet using DynDNS updater.

Thanks
Avatar of Rob Williams
Rob Williams
Flag of Canada image

I don't believe using the standard DDNS updaters this will work. The purpose of these services is to track the public IP not the local IP, even though they display the information in the updater tool.
In what form do you need this IP. You could create a script that would possibly e-mail you the IP, or upload it to an FTP site.
Avatar of embarc
embarc

ASKER

The vehcile traving system is from Hunter Pro (www.hunterpro.com) and as per their technical person DynDNS Updater should work. If DynDNS updater would not work and y other readymade update client? The ip is of the type 10.x.x.x
A DDNS service resolves a domain name to an IP address as well as tracking changes to a dynamic IP. Do you need to have the 10.x.x.x IP "converted" to a domain name or just be able to look up what it is.
Avatar of embarc

ASKER

I have created an account in DynDNS and have entered that domain (embarc.selfip.com) in the vehicle unit. The vehicle unit gets connected to the internet through GPRS and sends position data to this domain. Now the base unit also gets connected to the internet through GPRS and the ip (of the type 10.x.x.x) which comes in the connection needs to be updated to DynDNS so that the data from the vehicle unit is received by the base unit and vice versa.
ASKER CERTIFIED SOLUTION
Avatar of Rob Williams
Rob Williams
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of embarc

ASKER

OK.
What are you trying to do with this DNS entry?  Usually this is used to allow other machines to find your machine on the Iternet.  Since you do not have a public IP, this would not be possible anyway.

It may be you have a firewall that is port forwarding traffic to the device, and you want to set up a hostname for this.  If that's so, you use the external IP of the firewall, not the internal 10.x.x.x IP.