kanotix.com

Software - Manual DNS lookup?

kb0hae - 14.06.2006, 15:48 Uhr
Titel: Manual DNS lookup?
Hi. Here is what I am looking for. some software to perform a DNS lookup. I want to give it a URL, and get back the IP address of the web site. Why? Well I have a web site and maintain several web sites for some friends. The free hostin service that I use is pretty good, but has the annoying habit of changing the IP addresses of these web sites without giving notice that they have done so.

So sudenly, I cannot connect via FTP to upload new or changed pages.
I used to be able to do a ping, and get the IP but it seems that this is blocked by Peoplepc now...When I do a ping I get a response of unknown host nameofwebsite
I get this in both Kanotix and Win98se, both with firewall disabled and firewall running. Yet a Windows program called Fastnet 99 can get the IP addresses.

Is there a way to do this in Linux? Maybe from a terminal?

Any ideas?

PS. I really do not want to move these sites to a new web hosting service, and I have read that many free web hosting services change their IP addresses frequently.
Gowator - 14.06.2006, 16:06 Uhr
Titel:
Yes you can use
whois <>
or
nslookup <>

both from CLI and both query the DNS directly however you should be able to do this directly with ftp too .. just use the domain name instead of IP.
kb0hae - 15.06.2006, 01:35 Uhr
Titel:
Hi Gowator. Here are the results of trying what you said.

martin@Kanotix:~$ nslookup http://shehar7.coconia.net/
Server: 209.244.0.3
Address: 209.244.0.3#53

** server can't find http://shehar7.coconia.net/: NXDOMAIN

martin@Kanotix:~$ whois http://shehar7.coconia.net/
No whois server is known for this kind of object.

This is a valid URL, and the web page is loaded in Firefox just fine.
I tried several other valid web page URLs also...same results. And the firewall IS disabled.
Any other ideas?
schnorrer - 15.06.2006, 12:24 Uhr
Titel:
a name.name.net ask for name.net and you got an answer.

in youre case: don't ask for http://shehar7.coconia.ne, but ask for www.coconia.net or www.shehar7.coconia.net

http is the protocol not realy usefull for asking. www/ftp or ntp are the ports the servers ar listening and are more usefull to get what you want.

example. whois www.kanotix.com or whois ftp.kanotix.com
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007