LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   whois query (https://www.linuxquestions.org/questions/linux-newbie-8/whois-query-698101/)

shivanrathore 01-18-2009 07:20 AM

whois query
 
Where can I see my machine's whois configuration file? I want to see which whois server my client is contacting?? Thanks in advance.

repo 01-18-2009 07:37 AM

from man whois:

Quote:

Please remember that whois.networksolutions.com by default will only search in the domains database. If you want to search for NIC handles you have to prepend a ! character. When you do this, the default server becomes whois.networksolutions.com.

When querying whois.nic.mil for AS numbers, the program will automatically convert the request in the appropriate format, inserting a space after the string AS.

If the program is compiled with IDN support, when querying whois.denic.de for domain names it will automatically add the flags -T dn,ace -C US-ASCII if no flags have been specified by the user.
The domain name will always be IDN-encoded.

When querying whois.corenic.net, the program will automatically request machine-readable output.

RIPE-specific command line options are ignored when querying non-RIPE servers. This may or may not be the behaviour intended by the user. When querying a non-standard server, command line options which are not to be interpreted by the client should always follow the -- separator (which marks the beginning of the query string).

If the /etc/whois.conf config file exists, it will be consulted to find a server before applying the normal rules. Each line of the file should contain a regular expression to be matched against the query text and the whois server to use, separated by white space.

Command line arguments will always be interpreted accordingly to the current system locale and converted to the IDN ASCII Compatible Encoding.





All times are GMT -5. The time now is 09:32 PM.