LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2003, 04:13 AM   #1
zoltar77n
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Question whois does not show hostname.


Hi
I am a linux newbie. I am using snort to log intrusive packets. Whenever i try to do a whois on the corresponding ip addresses, i get a note saying that the IP was not found...?

then how come it sent packets to my machine?
plz help

zoltar
 
Old 10-16-2003, 09:48 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Try specifying a different whois server to use. If you don't, the whois command uses the default whois server whois.crsnic.net, which seems like it never has the entries that I'm looking for.

I use whois.arin.net to do most of lookups like this:

whois -h whois.arin.net 123.456.789.123

Depending on the ip address you might have to use a different whois server, for example you might have to use the whois.apnic.net server to find ip addresses in asia. Unfortunately I don't think there is one end-all whois server that has every single ip in it (that would make too much sense), so you kind of have to fool aound with it. www.geektools.com has a web interface that automates that for you and is a pretty handy tool when you need it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
whois problem. bruse Linux - Networking 11 08-25-2005 08:33 AM
Where is 'whois' RomanG Mandriva 3 03-20-2005 02:29 PM
Show WAN ip, hostname, etc. lothario Linux - Networking 2 02-02-2005 11:59 AM
How to make Apache show different hostname? mac_phil Linux - Software 2 05-11-2004 12:03 PM
whois gazza Linux - Newbie 6 11-11-2003 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration