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 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 or sometimes

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.

Who is Participating?
Rob WilliamsConnect With a Mentor Commented:
A script, as I suggested might be possible, will not work in this situation.

Based on your last description I assume the data will be sent to the domain name which in turn needs to resolve to your current 10.x.x.x  IP address. Even if you can get it to accept the correct 10.x.x.x address, it will not work (if I understand correctly) as 10.0x.x.x are private addresses, and cannot be routed over the Internet. By that I mean; if I send data to  it won't go anywhere as those addresses are for private networks only, and will be dropped by Internet routers. You can only connect to individually assigned public IP's.

The following are for private (non-Internet), network use only:  to  to  to
Rob WilliamsCommented:
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.
embarcAuthor Commented:
The vehcile traving system is from Hunter Pro ( 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
Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

Rob WilliamsCommented:
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.
embarcAuthor Commented:
I have created an account in DynDNS and have entered that domain ( 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.
embarcAuthor Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.