Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-11-2011, 10:56 AM   #1
LQ Newbie
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
uniform result whois command line

I am looking for a free whois lookup tool that will give uniform result for whois lookup from the linux command line.

whois of a domain results nameserver as follows.

While that of a .net domain result as follows
DNS Servers:
And that of .com results in
Domain servers in listed order:
I need a uniform result for the whois nameserver records.
Example: All in the following format:
Nameserver: ns1.domain.tld
Nameserver: ns2.domain.tld
Can anyone help?
Old 09-12-2011, 06:20 AM   #2
LQ Newbie
Registered: Sep 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Old 09-12-2011, 03:18 PM   #3
Registered: Jun 2004
Location: colorado, USA
Distribution: slack, oBSD
Posts: 119

Rep: Reputation: 24
Originally Posted by anilcliff View Post
a free whois lookup tool that will give uniform result for whois lookup from the linux command line.
What's the context for needing this? We might have more ideas if the "why" behind the question is more clear.

A few lines of shell script featuring grep and sed would bring this output to "close enough" for any purpose I can imagine.

Due to my (apparently) rare need to whois I've never noticed this; are you certain it's universal to the domain type? I'm tempted to suspect it's driven more by application/version/config of the server answering the query.


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
[SOLVED] Grep for the result of a command within the result of another command jasonws Programming 6 11-18-2010 03:39 PM
whois - command not found foxxer Mandriva 5 05-28-2005 03:31 PM
Whois command sdr_ar Mandriva 2 11-20-2004 10:43 PM
whois command not found? wtf? Smokey Slackware 4 09-19-2004 09:14 AM
whois command cmenjivar Linux - Newbie 4 08-29-2001 06:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 PM.

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