<?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: GOLDEN KUMAR</title>
    <description>The latest articles on DEV Community by GOLDEN KUMAR (@auenkr).</description>
    <link>https://dev.to/auenkr</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2731681%2Fcdec433b-7062-4e49-b9f9-ca6a3d3c0218.png</url>
      <title>DEV Community: GOLDEN KUMAR</title>
      <link>https://dev.to/auenkr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/auenkr"/>
    <language>en</language>
    <item>
      <title>AI-Powered DNS for TXT Queries!</title>
      <dc:creator>GOLDEN KUMAR</dc:creator>
      <pubDate>Sat, 18 Jan 2025 13:42:54 +0000</pubDate>
      <link>https://dev.to/auenkr/ai-powered-dns-for-txt-queries-1236</link>
      <guid>https://dev.to/auenkr/ai-powered-dns-for-txt-queries-1236</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github"&gt;GitHub Copilot Challenge &lt;/a&gt;: New Beginnings&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;It is a DNS server that can use the LM model to answer user queries.&lt;/p&gt;

&lt;p&gt;Feature:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Save bandwidth as it is just a DNS call.&lt;/li&gt;
&lt;li&gt;Directly call the LLM model using the terminal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To use it&lt;/p&gt;

&lt;p&gt;&lt;code&gt;dig @dns.auenkr.me -p 9005 +short TXT write.query.with.periods&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;How does it work?&lt;/p&gt;

&lt;p&gt;Send a TXT record to the DNS server. The subdomain contains the question to be asked by LLM. LLM answers the query the result is sent back to the user.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcf31osgypam6zexnhz2y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcf31osgypam6zexnhz2y.png" alt="Image description" width="800" height="235"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Repo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/AuenKr/dns-ai" rel="noopener noreferrer"&gt;https://github.com/AuenKr/dns-ai&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Copilot Experience
&lt;/h2&gt;

&lt;p&gt;I normally use JavaScript for development purposes. But to know more about Copilot I decide to write this project in Golang.&lt;/p&gt;

&lt;p&gt;I prompt the Copilot on what I want to create, the logic part. It converts it into the go-lang language.&lt;/p&gt;

&lt;p&gt;I was amazed that I was able to create this project even though I didn't know Go Lang.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitHub Models
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Generating code based on Comments I write.&lt;/li&gt;
&lt;li&gt;While debugging the code. When some error occurs, to better understand why it occurs.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;This is a fun project for me.&lt;br&gt;
I was thinking of doing this project for a long time. This project is inspired by &lt;code&gt;https://github.com/knadh/dns.toys&lt;/code&gt;.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>ai</category>
      <category>dns</category>
    </item>
  </channel>
</rss>
