On Thu November 4 2004 7:54 am, Ted Harding wrote:
On 04-Nov-04 Paul Ryan wrote:
On Thu, 2004-11-04 at 15:17, James Knott wrote:
Paul Ryan wrote:
How can I determing the IP address of a server, when I use ping and then the ftp:// address I get the response unknown
You can try (you may need to do this as root):
dig -a the.host.name
If it can be found, then this will tell you the IP address, as in:
# dig -a dns1.btinternet.com
; <<>> DiG 2.2 <<>> -a dns1.btinternet.com ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6 ;; flags: qr rd ra; Ques: 1, Ans: 1, Auth: 4, Addit: 4 ;; QUESTIONS: ;; dns1.btinternet.com, type = A, class = IN
;; ANSWERS: dns1.btinternet.com. 35182 A 194.73.73.172
Thanks for the excellent suggestion and example Ted. Another method (assuming you have access with a web browser) is to use the following site... http://www.bankes.com/nslookup.htm I've used this in the past to find SuSE's IP address when doing an ftp install of SuSE 9.0. Just a thought -- dh Don't shop at ZipZoomFly.com!