Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Posting Dynamic IP

Posted on 2008-10-03
11
Medium Priority
?
260 Views
Last Modified: 2010-04-02
We have several remote sites in our company. I am considering changing static IP of each of those sites to Dynamic IPs. This of course will create a problem that we will not know IP address at any given point in time.

The workaround I am thinking of is for each of those remote sites to post their IP address every hour to our server. My questions are:

1. Is there a DOS-based or Windows-based utility through which a system can find out its public IP address (ipconfig only gives you the local IP) ?
2. Is there an existing web service that does that? There are services like no-ip.com but the problem with those is that they substitute your IP address with a string alias, e.g, myname.no-ip.com which won't work for us. We do need to get updated IPs, not aliases.
0
Comment
Question by:whdev1
  • 5
  • 3
  • 3
11 Comments
 
LVL 2

Expert Comment

by:storeytime
ID: 22635333
why do want dyanmic IPs with DNS if you don;t want a FQDN
0
 

Accepted Solution

by:
whdev1 earned 0 total points
ID: 22635362
Because they're a lot cheaper
0
 
LVL 2

Expert Comment

by:storeytime
ID: 22635468
yes but what do you plan to use you need something like mysite.mydomain.com (aFQDN - Fully qualifed Domain Name) to utlize either static or dynamic IPs

if you have one you can use no-ip to manage yourdomain.com and it does not have to be myghettosite.no-ip.com.

also if you are to cheap for that you can write perl scripts that will automatically update your bind zone whihc I have done.  trust me it is much easier to go with no-ip which I use
0
 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

 

Author Comment

by:whdev1
ID: 22636684
I cannot use string aliases, that's the problem. it has to be an IP Address
0
 
LVL 2

Expert Comment

by:storeytime
ID: 22636978
what do you mean string alias.  if you use IP address then DNS is irrelevant.  you cannot just have dynamic IPs everywhere.  You will need at least one static IP for all the other servers to store there dynamics.  Use perl write scripts that will grab its external IP and write to central DB is that what you want?
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 22637304
>Is there an existing web service that does that?

Trouble is that you are then dependent on that service being available all the time - it is a serial link in the chain of reliability - not good.   Diagnosing faults is also more difficult due to this additional complexity.
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 22637338
You could get each remote site to send you an email every hour.  Their IP address will be in the headers of that email, it is a case of extracting it from the email.
0
 

Author Comment

by:whdev1
ID: 22637603
That is why I was hoping there is some soft of a DOS utilitiy that runs every 30 minutes for example, gets the machine's IP address and posts in our server via http (ASP.NET, e.g.) or an ftp.

Something like this
ipconfig >> myIPfile.txt
Then ftp myIPfile.txt to the server

of course ipconfig won't do the job because it's only getting local IP.
0
 

Author Comment

by:whdev1
ID: 22759530
Any other thoughts, suggestions?
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 22759781
Personally I wouldn't recommend moving away from Static IP's from a reliability angle (extra links in the chain which can go wrong), also, if you are sending out emails from a dynamic ip you will find recipients are more likely to flag them as spam.
0
 

Author Comment

by:whdev1
ID: 22759982
Thanks, but that's unfortunately the way it has been decided by the company (moving away from static to dynamic). Let me simplify this question: is there a DOS utility anyone can think of that can fetch the machine's public IP address? Just like ipconfig does.. except the public ip.

Parsing through email headers is way too complicated. I need a quicker and simpler solution. If there's a dos-based freeware, I can create a custom script relatively quickly
0

Featured Post

New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

772 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