I have an ftp server running on my ADSL line which has a dynamic IP address. It doesn’t change all that often but when it does I have a dynamic-name (no-ip) that updates whenever it detects a change. So the address ptegan.myftp.org always points to my ftp server.
The problem is that for some weird reason, my brother is with an ISP that doesn’t return any result when he pings ptegan.myftp.org
I tried signing up with another service (DynIP - Dynamic DNS Service) and the same result, he can’t ping my address while everyone else can.
My question is this, is there a way I can display my current IP address in a webpage or via MSN/Yahoo to allow my brother to see it, without having to resort to a dynamic DNS service which don’t seem to work for him ?
Either that or a different solution would be welcome
Are you sure it’s the DNS that’s the problem? Can he connect to the FTP server using the IP address only? A ‘ping’ might be blocked due to his ISP filtering/blocking certain things.
Something he can try is to open a command prompt, run “nslookup”, and then enter your addres “ptegan.myftp.org”. If it returns the right IP, then the problem isn’t with the DNS, and lies somewhere else.
To answer your question, it’s possible, but I don’t know of a simple tool to do it. Essentially, the task breaks down into two or maybe three parts.
retrieving the current IP address. Doing an IPconfig command - maybe streaming the results to a text file can do this.
Posting the address somewhere that your friend can see it. I’m not sure if messengers allow any way to do this manually. If you have a webspace you might be able to rig up an FTP transfer to it.
Automating steps 1 and 2 so that they’ll happen on a regular schedule.
Hope that helps.
Wow, that is weird. Since you’re talking about him needing to manually go to a website to find out the IP, why not just find a site that will perform their own DNS lookup. A google search for “DNS lookup” turns up this site, which will let him enter and address and get the IP (top right box). Probably easier than setting up your own site.
Using a third party DNS lookup service as has been suggested will work, but if I were having this problem I’d really want to fix the problem, as there’s undoubtedly many more sites that are failing to resolve.
The general causes of such problems are improper DNS settings on the local PC, some sort of malware munging up lookups, or (less likely but still possible) badly managed DNS servers at the ISP.
For whatever it may be worth, I tried pinging ptegan.myftp.org and got “request timed out” 4 times. I then set my firewall (Sygate Personal) to “allow all” and tried again. It pinged fine.
“Request timed out” indicates that your computer knew who it was trying to talk to, but wasn’t hearing back for some reason.
Since in post 3 the OP indicates that pinging by IP address succeeds, I’d assume the error by name is “Unknown host”, indicating that the DNS resolution failed.
To clarify: If no one could ping the remote site, then it could easily be that the remote site’s firewall doesn’t respond to pings. But in this case other people can, so it’s something local to your friend.