<?xml version="1.0"?>
<?xml-stylesheet type='text/xsl' href='http://greenbytes.de/tech/webdav/rfc2629.xslt' ?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc strict="yes"?>
<?rfc sortrefs="yes"?>
<rfc ipr="full3978" category="std" docName="&lt;draft-reid-dnsext-zs-01.txt&gt;">


<front>
<title abbrev="The Zone Status (ZS) DNS Resource Record">The Zone Status (ZS) DNS Resource Record</title>

<!-- $Id: draft-zs.xml,v 1.6 2008/07/04 13:15:01 jim Exp jim $ -->
<!-- ************** Jim Reid ***************-->
<author initials="J." surname="Reid" fullname="Jim Reid">
<organization abbrev="Telnic Ltd">Telnic Ltd</organization>
<address>
    <postal>
        <street>Telnic Ltd.</street>
        <street>6 Langside Court</street>
        <city>Bothwell</city>
        <region>SCOTLAND</region>
        <country>United Kingdom</country>
    </postal>
    <phone>+44 20 7467 6400</phone>
    <email>jim@telnic.org</email>
</address>
</author>

<date month="July" year="2008" />
<area>Internet</area>
<workgroup>DNSEXT</workgroup>
<keyword>DNS</keyword>
<keyword>ENUM</keyword>
<keyword>NAPTR</keyword>
<keyword>Internet-Draft</keyword>

<abstract>
<t>
A Domain Name System (DNS) resource record which provides status
information about a zone is described in this document. 
</t>

</abstract>

</front>


<middle>

<section anchor="Terminology" title="Terminology">

<t>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in BCP
14, <xref target="refs.RFC2119">RFC2119 </xref>.
</t> 
</section>

<section anchor="intro" title="Introduction">

<t>
The DNS protocol is defined in
<xref target="refs.RFC1034">RFC1034 </xref>,
<xref target="refs.RFC1035">RFC1035 </xref> and clarified in
<xref target="refs.RFC2181">RFC2181 </xref>. 
The DNS does not currently provide a well defined mechanism for
obtaining information about the status of a zone: what it is being
used for, the significance of the zone's contents, when the zone was
last updated and so on.
This means a variety of ad-hoc techniques are deployed whenever zone
administrators choose to make this information available.
Typical strategies include descriptive TXT records in the zone or
embedding meta-information in the values of existing RRtypes or
subtypes such as the SOA record's serial number and RNAME.
These are confusing and impractical since an arbitrary DNS client
needs a priori knowledge of which of these schemes, if any, has been
used by a zone administrator.
</t>

<t>
This document advocates the introduction of a new
resource record specifically to provide this type of information.
</t>

</section>

<section anchor="Rationale" title="Rationale">
<t>
Common examples where indicating the status of a zone would
be useful include: whenever the domain is in the process of
a substantial update; a domain undergoing a long-term
migration; and changes to the authoritative name servers for a
zone. eg "Use of example.net was deprecated on April 1st.
Please visit example.com instead." It would be convenient to
store this type of meta information within the zone in a way
that makes it easily retrieved.
This kind of status information would be particularly helpful for
systems such as ENUM <xref target="refs.RFC3761"></xref> which can be
used for publishing real-time contact data for zone owners.
</t>
	  
<t>
These sorts of details are generally associated with the
administration of the zone rather than being tied to the rest of the
zone content.
Clarifying this separation between information that reflects the
status of a zone from any text that a domain holder may choose to
publish via DNS is useful.
It also avoids the current subtyping issues that would affect
processing of a TXT RRset if the status information was embedded
there.
TXT records are too general and would require imprecise RDATA parsing
in order to extract any relevant items of interest to a particular
client.
</t>

<t>
The proposed RRtype will be of particular use for zones where contact
data are published in the DNS as NAPTR
records <xref target="refs.RFC3403"></xref>. 
For instance a set of tel: and sip: URIs
<xref target="refs.RFC3986"></xref> 
could be associated with the proposed zone status RRtype.
That could indicate these URIs are the ones published by the zone
owner when they are at work, or while travelling or when at home.
Client software could lookup the zone's ZS records and display a
meaningful message to the end user about the NAPTR records that had
been retrieved from an earlier lookup.
A description of which contact data the zone owner has published would
offer additional information to what might be inferred from the actual
NAPTR RRset or other zone data itself.
The ZS RRtype could express concepts like "the zone owner is asleep,
so don't bother trying voice-based communication" or "the zone owner
is at work but in a meeting".
</t>

<t>
Publishing and obtaining this information will become more significant
because of emerging applications and services which make innovative
use of the DNS such as the real-time manipulation of zone content
data.
For example, updating NAPTR records (ie the zone owner's contact data)
whenever the zone owner switches between the NAPTR RRset they publish
while at work, at home, commuting or while sleeping.
</t>

</section>

<section anchor="NewRRtype" title="Justification For New RRtype">

<t>
TXT records are unsuitable for providing this sort of zone status
information because the semantics of TXT record RDATA are
unstructured.
TXT records can and are used for all sorts of purposes: version
control strings, comments or reminders to zone administrators,
anti-spam information, references to ticketing systems, contact
details of the zone administrator and so on.
It would be impractical for an application to interpret the contents
of a response to a TXT query and guess which, if any, of the returned
TXT records contained meaningful data about the status of the zone.
</t>
<t>
One approach would be to adopt a convention that a "magic string" in
the RDATA for some TXT record identified zone status information.
This is not viable for two reasons.
First, it may break backwards compatibility with the installed base
which might already be using this "magic string" in TXT records. 
The second reason is this proposal would introduce yet another example
of subtyping which is generally accepted as poor protocol design.
</t>
<t>
Likewise, it is not sensible to insert TXT records in some
part of the name space to be dedicated for this specific
purpose.
That would be another instance of bad protocol design because a
fundamental but unstated principle of the Domain Name System is any
RRtype can be used in any zone irrespective of the name of the zone.
</t>

</section>

<section anchor="ZSResourceRecord" title="ZS Resource Record">

<t>
Apart from its type code, the wire and text formats for the
proposed ZS RRtype are identical to the definitions of the TXT
record given in RFC1035:
</t>

<figure>
<preamble>
ZS RDATA format
</preamble>
<artwork>
	    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
	    /                   ZS-DATA                    /
	    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
</artwork>

<postamble>
where:
    ZS-DATA        One or more character-strings.
</postamble>
</figure>
<t>
The ZS RRtype will hold descriptive text intended to
contain information reflecting the status of the zone in
which it is held.
</t>

</section>

<section anchor="EndUserIssues" title="End User Considerations">

<t>
Users publishing ZS records SHOULD pay attention to the needs of
potential readers of these resource records, especially with respect
to character sets and language.
Although arbitrary text can be stored in character-strings, publishers
of ZS records SHOULD carefully consider the capabilities of the devices and
end users who query for ZS records.
For example, a mobile phone or other hand-held device may not have the
font information or suitable rendering capabilities to display (say)
Chinese or Arabic characters.
Similarly, publishers of ZS records should try to avoid displaying
information in multiple languages or assume that all readers of these
records understand the same language or languages they have chosen to use.
In these circumstances it would be inadvisable to publish a string
in a ZS record that is unlikely to be intelligible to those who lookup ZS
records.
</t>

</section>

<section anchor="Sec-Cons" title="Security Considerations">

<t>
Although this document does not appear to introduce any extra security
issues beyond those listed in the thorough analysis of the threats to DNS in
<xref target="refs.RFC3833">RFC3833 </xref>, there are some additional
considerations. These are described below.
</t>
<t>
It is unrealistic to assume that zone owners who publish ZS records can
be relied upon to ensure any ZS records contain accurate, timely
information.
Similarly it cannot be assumed that ZS records contain text that will
be understandable by an arbitrary reader that looks them up in the DNS.
Therefore any data contained in a ZS record is solely for
informational purposes.
The information contained in a ZS record MUST NOT be relied upon for
any location-based services.
In particular, emergency services MUST NOT not treat the contents of
a ZS record as definitive information about the location or
disposition of the domain name owner.

</t>
</section>

<section anchor="IANACons" title="IANA Considerations">

<t>
IANA is requested to issue a new type code and mnemonic for the
proposed resource record.
No other IANA services are required by this document.
</t>

</section>

<section anchor="Acknowledgements" title="Acknowledgements">

<t>
The author would like to thank Ben Timms, John Cundall, John Tidmuss
and Lawrence Conroy for their constructive suggestions to this
document and for helping to identify potential uses for the proposed
record type.
</t>

</section>

</middle>

<back>

<references title='Normative References'>

<reference anchor="refs.RFC1034">
<front>
<title> DOMAIN NAMES - CONCEPTS AND FACILITIES </title>
<author initials="P." surname="Mockapetris" fullname="">
<organization/>
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<date year="1987" month="November"/>
</front>
<seriesInfo name="RFC" value="1034" />
<format type='TXT' target='http://www.ietf.org/rfc/rfc1034.txt' />
</reference>

<reference anchor='refs.RFC1035'>
<front>
<title abbrev='Domain Implementation and Specification'>Domain names - implementation and specification</title>
<author initials='P.' surname='Mockapetris' fullname='P. Mockapetris'>
<organization>USC/ISI</organization>
<address>
<postal>
<street>4676 Admiralty Way</street>
<city>Marina del Rey</city>
<region>CA</region>
<code>90291</code>
<country>US</country></postal>
<phone>+1 213 822 1511</phone></address></author>
<date year='1987' day='1' month='November' /></front>
<seriesInfo name='STD' value='13' />
<seriesInfo name='RFC' value='1035' />
<format type='TXT' target='http://www.ietf.org/rfc/rfc1035.txt' />
</reference>

<reference anchor='refs.RFC1123'>
<front>
<title abbrev='Internet Host Requirements'>Requirements for Internet Hosts -- Application and Support</title>
<author initials='R.' surname='Braden' fullname='Robert Braden'>
<organization />
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<date year='1989' month='October' /></front>
<seriesInfo name='RFC' value='1123' />
<format type='TXT' target='http://www.ietf.org/rfc/rfc1123.txt' />
</reference>

<reference anchor='refs.RFC2181'>
<front>
<title abbrev='DNS Clarifications'>Clarifications to the DNS Specification</title>
<author initials='R.' surname='Elz' fullname='Robert Elz'>
<organization />
<address><postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<author initials='R.' surname='Bush' fullname='Randy Bush'>
<organization />
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<date year='1997' month='July' /></front>
<seriesInfo name='RFC' value='2181' />
<format type='TXT' target='http://www.ietf.org/rfc/rfc2181.txt' />
</reference>

<reference anchor="refs.RFC3403">
<front>
<title>Dynamic Delegation Discovery System (DDDS)
Part Three: The Domain Name System (DNS) Database</title>
<author initials="M." surname="Mealling" fullname="Micheal Mealling">
<organization />
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<date month="October" year="2002" />
</front>
<seriesInfo name="RFC" value="3403" />
</reference>

<reference anchor="refs.RFC3986">
<front>
<title abbrev='URI Generic Syntax'>Uniform Resource Identifier (URI): Generic Syntax</title>
<author initials='T.' surname='Berners-Lee' fullname='Tim Berners-Lee'>
<organization abbrev='W3C/MIT'>World Wide Web Consortium</organization>
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<author initials='R.' surname='Fielding' fullname='Roy T. Fielding'>
<organization abbrev='Day Software'>Day Software</organization>
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<author initials='L.' surname='Masinter' fullname='Larry Masinter'>
<organization abbrev='Adobe Systems'>Adobe Systems Incorporated</organization>
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<date year='2005' month='January' />
</front>
<seriesInfo name='STD' value='66' />
<seriesInfo name='RFC' value='3986' />
</reference>

</references>

<references title='Informative References'>

<reference anchor="refs.RFC3761">
<front>
<title>The E.164 to Uniform Resource Identifiers (URI) Dynamic Delegation 
Discovery System (DDDS) Application (ENUM)</title>
<author initials="P." surname="Faltstrom" fullname="Patrick Faltsrom">
<organization />
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<author initials="M." surname="Mealling" fullname="Micheal Mealling">
<organization />
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<date month="April" year="2004" />
</front>
<seriesInfo name="RFC" value="3761" />
</reference>

<reference anchor="refs.RFC3833">
<front>
<title> Threat Analysis of the Domain Name System (DNS)</title>
<author initials="D." surname="Atkins" fullname="Derek Atkins">
<organization/>
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<author initials="R." surname="Austein" fullname="Rob Austein">
<organization/>
<address>
<postal><street /><city /><region /><code /><country /></postal>
<phone /><facsimile /><email /><uri />
</address>
</author>
<date month="August" year="2004" />
</front>
<seriesInfo name="RFC" value="3833" />
</reference>

<reference anchor="refs.RFC2026">
<front>
<title>The Internet Standards Process -- Revision 3</title>
<author initials="S.O." surname="Bradner" fullname="Scott O. Bradner">
<organization>Harvard University</organization>
<address>
<postal>
<street>Holyoke Center, Room 813</street>
<street>1350 Massachusettes Avenue</street>
<city>Cambridge</city> <region>MA</region> <code>02138</code>
<country>US</country>
</postal>
<phone>+1 617 495 3864</phone>
<email>sob@harvard.edu</email>
</address>
</author>
<date month="October" year="1996" />
</front>
<seriesInfo name="RFC" value="2026" />
<seriesInfo name="BCP" value="9" />
</reference>

<reference anchor="refs.RFC2119">
<front>
<title> Key words for use in RFCs to Indicate Requirement Levels </title>
<author initials="S.O." surname="Bradner" fullname="Scott O. Bradner">
<organization>Harvard University</organization>
<address>
<postal>
<street>Holyoke Center, Room 813</street>
<street>1350 Massachusettes Avenue</street>
<city>Cambridge</city> <region>MA</region> <code>02138</code>
<country>US</country>
</postal>
<phone>+1 617 495 3864</phone>
<email>sob@harvard.edu</email>
</address>
</author>
<date month="March" year="1997" />
</front>
<seriesInfo name="RFC" value="2119" />
<seriesInfo name="BCP" value="14" />
</reference>

<reference anchor='refs.RFC3978'>
<front>
<title>IETF Rights in Contributions</title>
<author initials='S.O.' surname='Bradner' fullname='Scott O. Bradner'>
<organization /></author>
<date year='2005' month='March' /></front>
<seriesInfo name='BCP' value='78' />
<seriesInfo name='RFC' value='3978' />
</reference>

<reference anchor='refs.RFC3979'>
<front>
<title>Intellectual Property Rights in IETF Technology</title>
<author initials='S.O.' surname='Bradner' fullname='Scott O. Bradner'>
<organization /></author>
<date year='2005' month='March' /></front>
<seriesInfo name='BCP' value='79' />
<seriesInfo name='RFC' value='3979' />
</reference>

</references>
</back>
</rfc>
