<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: slxca</title>
    <description>The latest articles on DEV Community by slxca (@sluca).</description>
    <link>https://dev.to/sluca</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1302551%2Fd862a793-b912-41a0-abdb-45f5396ba87e.jpeg</url>
      <title>DEV Community: slxca</title>
      <link>https://dev.to/sluca</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sluca"/>
    <language>en</language>
    <item>
      <title>Why WHOIS is Deprecating and How to Use RDAP in Java</title>
      <dc:creator>slxca</dc:creator>
      <pubDate>Thu, 16 Jul 2026 02:17:13 +0000</pubDate>
      <link>https://dev.to/sluca/why-whois-is-deprecating-and-how-to-use-rdap-in-java-58lg</link>
      <guid>https://dev.to/sluca/why-whois-is-deprecating-and-how-to-use-rdap-in-java-58lg</guid>
      <description>&lt;h2&gt;
  
  
  The Problem with WHOIS
&lt;/h2&gt;

&lt;p&gt;For decades, the WHOIS protocol was the go-to solution to check domain ownership, IP address allocations, and Autonomous System Numbers (ASNs). However, WHOIS has a massive flaw: it lacks a standardized format. Parsing plain text responses from hundreds of different registries is an absolute nightmare.&lt;br&gt;
Enter RDAP (Registration Data Access Protocol). It’s the official, modern successor to WHOIS. It runs over HTTP and delivers responses in structured JSON.&lt;/p&gt;
&lt;h2&gt;
  
  
  Introducing rdap-java
&lt;/h2&gt;

&lt;p&gt;While working on infrastructure and DNS monitoring utilities, I realized that existing Java solutions for RDAP were either part of massive, bloated frameworks or heavily outdated.&lt;br&gt;
To solve this, I built rdap-java—a lightweight, dependency-minimal client specifically designed to fetch and map RDAP data cleanly.&lt;/p&gt;
&lt;h2&gt;
  
  
  Quick Code Example
&lt;/h2&gt;

&lt;p&gt;Here is how simple it is to look up a domain using the package:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Quick draft example of querying a domain&lt;/span&gt;
&lt;span class="nc"&gt;RdapClient&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;RdapClient&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
&lt;span class="nc"&gt;DomainResponse&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;queryDomain&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"github.com"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;

&lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Registrar: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;getRegistrarName&lt;/span&gt;&lt;span class="o"&gt;());&lt;/span&gt;
&lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Status: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;getStatus&lt;/span&gt;&lt;span class="o"&gt;());&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;(Note: Feel free to adjust this snippet to match your exact API syntax!)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Open Source &amp;amp; Feedback
&lt;/h2&gt;

&lt;p&gt;The project is fully open-source under the MIT license. If you are building anything in the networking, DevOps, or cybersecurity space with Java, I’d love for you to try it out.&lt;br&gt;
Check out the repository here: &lt;a href="https://github.com/slxca/rdap-java" rel="noopener noreferrer"&gt;https://github.com/slxca/rdap-java&lt;/a&gt;&lt;br&gt;
What features should I add next? Let me know in the comments!&lt;/p&gt;

</description>
      <category>java</category>
      <category>opensource</category>
      <category>networking</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
