<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://foss.coep.org.in/coepwiki/index.php?action=history&amp;feed=atom&amp;title=DNS_server_Project</id>
	<title>DNS server Project - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://foss.coep.org.in/coepwiki/index.php?action=history&amp;feed=atom&amp;title=DNS_server_Project"/>
	<link rel="alternate" type="text/html" href="https://foss.coep.org.in/coepwiki/index.php?title=DNS_server_Project&amp;action=history"/>
	<updated>2026-04-03T19:06:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://foss.coep.org.in/coepwiki/index.php?title=DNS_server_Project&amp;diff=12&amp;oldid=prev</id>
		<title>Wikiadmin: Created page with &quot;==Connection Timeout== The timeout set by the user can be set in the code using &#039;&#039;.timeout()&#039;&#039; function for the socket variable.  ==ptr Query Type== Reverse DNS lookups use the special domain &#039;&#039;in-addr.arpa&#039;&#039; for IPv6 and &#039;&#039;ip6.arpa&#039;&#039; for IPv6. For reverse queries, the IP address in the query must be reversed and the respective domain must be appended to it before sending the  query to the server. For converting the IP addresses to their expanded form &#039;&#039;.exploded&#039;&#039; from...&quot;</title>
		<link rel="alternate" type="text/html" href="https://foss.coep.org.in/coepwiki/index.php?title=DNS_server_Project&amp;diff=12&amp;oldid=prev"/>
		<updated>2025-08-12T13:29:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Connection Timeout== The timeout set by the user can be set in the code using &amp;#039;&amp;#039;.timeout()&amp;#039;&amp;#039; function for the socket variable.  ==ptr Query Type== Reverse DNS lookups use the special domain &amp;#039;&amp;#039;in-addr.arpa&amp;#039;&amp;#039; for IPv6 and &amp;#039;&amp;#039;ip6.arpa&amp;#039;&amp;#039; for IPv6. For reverse queries, the IP address in the query must be reversed and the respective domain must be appended to it before sending the  query to the server. For converting the IP addresses to their expanded form &amp;#039;&amp;#039;.exploded&amp;#039;&amp;#039; from...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Connection Timeout==&lt;br /&gt;
The timeout set by the user can be set in the code using &amp;#039;&amp;#039;.timeout()&amp;#039;&amp;#039; function for the socket variable.&lt;br /&gt;
&lt;br /&gt;
==ptr Query Type==&lt;br /&gt;
Reverse DNS lookups use the special domain &amp;#039;&amp;#039;in-addr.arpa&amp;#039;&amp;#039; for IPv6 and &amp;#039;&amp;#039;ip6.arpa&amp;#039;&amp;#039; for IPv6. For reverse queries, the IP address in the query must be reversed and the respective domain must be appended to it before sending the  query to the server. For converting the IP addresses to their expanded form &amp;#039;&amp;#039;.exploded&amp;#039;&amp;#039; from the &amp;#039;&amp;#039;ipaddress&amp;#039;&amp;#039; library can be used&lt;br /&gt;
&lt;br /&gt;
==DNS Cache==&lt;br /&gt;
The DNS server cache can be implemented in the form of a text file containing a list of tuples storing query, response, time to live(ttl) and entry time. The entry time can be easily found using the &amp;#039;&amp;#039;time&amp;#039;&amp;#039; module. When the server program is run, the expired entries can be deleted before accepting queries from the client. Before sending an entry from the cache to the client, the ttl must be verified once so as not to send an expired entry. Only if the answer is not found in the cache, the server should send a query to further servers(hence the server acts a both, a server and a client).&lt;/div&gt;</summary>
		<author><name>Wikiadmin</name></author>
	</entry>
</feed>