<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vacmf &#187; whois</title>
	<atom:link href="http://vacmf.org/tag/whois/feed/" rel="self" type="application/rss+xml" />
	<link>http://vacmf.org</link>
	<description>there's more than one way to do it</description>
	<lastBuildDate>Sun, 05 Sep 2010 16:15:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>whois and .eu domain name</title>
		<link>http://vacmf.org/2006/06/21/whois-and-eu-domain-name/</link>
		<comments>http://vacmf.org/2006/06/21/whois-and-eu-domain-name/#comments</comments>
		<pubDate>Wed, 21 Jun 2006 10:05:22 +0000</pubDate>
		<dc:creator>shima</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[whois]]></category>

		<guid isPermaLink="false">http://vacmf.org/2006/06/21/whois-and-eu-domain-name/</guid>
		<description><![CDATA[If you launch the command whois eurid.eu I returned the following message: No whois server is known for this kind of object. So you can simply use: whois -h whois.eu eurid but from `man whois` I read: If the /etc/whois.conf config file exists, it will be consulted to find a server before applying the normal]]></description>
			<content:encoded><![CDATA[<p>If you launch the command</p>
<pre>whois eurid.eu</pre>
<p>I returned the following message:</p>
<pre>No whois server is known for this kind of object.</pre>
<p>So you can simply use:</p>
<pre>whois -h whois.eu eurid</pre>
<p>but from `man whois` I read:</p>
<blockquote><p>If the /etc/whois.conf config file exists, it will be consulted to find<br />
a server before applying the normal rules. Each line of the file should<br />
contain  a  regular expression to be matched against the query text and<br />
the whois server to use, separated by white space.</p></blockquote>
<p>So I created the /etc/whois.conf file and filled it with:</p>
<pre>.eu whois.eu</pre>
<p>but it doesn&#8217;t work. From the output of:</p>
<pre>strace /usb/bin/whois  eurid.eu</pre>
<p>we can see that the program doesn&#8217;t search /etc/whois.conf file so the &#8220;problem&#8221; is in the source.<br />
To get whois read his config file you must download the program source from his developer web site</p>
<blockquote><p>http://www.linux.it/~md/software/</p></blockquote>
<p>then you need to extract the files from the archive and modify <strong>config.h </strong>simply to uncomment the line regarding /etc/whois.conf as reported:</p>
<pre>#define CONFIG_FILE "/etc/whois.conf"</pre>
<p>finally you have to recompile the program with make and install it.<br />
Now that whois read his config files you can create it</p>
<pre># echo ".eu whois.eu" > /etc/whois.conf</pre>
<p>and launch the program</p>
<pre>whois  eurid.eu</pre>
<p>Now in the output you have the whois search result.</p>
]]></content:encoded>
			<wfw:commentRss>http://vacmf.org/2006/06/21/whois-and-eu-domain-name/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
