Note that there are some explanatory texts on larger screens.

plurals
  1. POTop level domain ignorance at using RIPE
    primarykey
    data
    text
    <p>I'm developing a simple app in c#, that can check if a domain name is available to puchase for a specific tld. The method: I downloaded a whois-server list, I send the domain name to its whois server with a TCP client on the protocol 43, and check the servers answer. The problem: more countries has the same whois server: "whois.ripe.net" . If I send the full domain name(with tld), the server's answer is always "No entries found in source RIPE.". If I send the domain name without tld, I dont get any tld specific data about the status of the domain name. </p> <p>The method I use:</p> <pre><code>private string GetWhoisInformation(string whoisServer, string url) { try { StringBuilder stringBuilderResult = new StringBuilder(); TcpClient tcpClinetWhois = new TcpClient(whoisServer, 43); NetworkStream networkStreamWhois = tcpClinetWhois.GetStream(); BufferedStream bufferedStreamWhois = new BufferedStream(networkStreamWhois); StreamWriter streamWriter = new StreamWriter(bufferedStreamWhois); streamWriter.WriteLine(url); streamWriter.Flush(); StreamReader streamReaderReceive = new StreamReader(bufferedStreamWhois); while (!streamReaderReceive.EndOfStream) stringBuilderResult.AppendLine(streamReaderReceive.ReadLine()); return stringBuilderResult.ToString(); } catch { return "lekérdezés sikertelen"; } } </code></pre> <p>Example: I do:</p> <pre><code>GetWhoisInformation("whois.ripe.net", "pokerstars.hu") </code></pre> <p>The server's answer:</p> <pre><code>%ERROR:101: no entries found % % No entries found in source RIPE. </code></pre> <p>for the next command:</p> <pre><code>GetWhoisInformation("whois.ripe.net", "pokerstars") </code></pre> <p>the result contains several blocks like this:</p> <pre><code>% Information related to '80.65.254.128 - 80.65.254.159' inetnum: 80.65.254.128 - 80.65.254.159 netname: Pokerstars descr: Hosting country: GB admin-c: DC77-RIPE tech-c: JM2352-RIPE status: assigned PA mnt-by: manx-telecom-mnt changed: bill.hogg@manx-telecom.com 20101123 source: RIPE </code></pre> <p>There's no information about the domain name "pokerstars.hu". Of course, I get exactly the same answers if I want to check pokerstars.va. Pokerstars.hu is a registred domain, pokerstars.va is not.</p> <p>How can I find the correct status of a domain name?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload