DNS – What Does ‘IN’ Mean in a Zone File?

binddomain-name-system

Sometimes a record is listed as www IN A 192.168.1.1 and sometimes it is listed as www A 192.168.1.1.

What is the purpose of the IN and when is it required/not required?

Best Answer

That is referring to the DNS class. 'IN' refers to 'Internet' while the only other option in common use is 'CH' for 'CHAOS'. The CH class is (presently) commonly used for things like querying DNS server versions, while the IN class is the default and generally what "the internet" uses.

http://victor.se/bjorn/its/chaos-dns.php

http://www.faqs.org/rfcs/rfc2929.html (section 3.3)