Permalink
Browse files

Added a documentation with warnings for the qclass.

  • Loading branch information...
1 parent f94c53d commit 438db5463a1de3891107220c73f0ad39650edffe @Fusl Fusl committed Jan 27, 2014
Showing with 13 additions and 2 deletions.
  1. +13 −2 pdns/docs/pdns.xml
View
@@ -15097,7 +15097,6 @@ Feb 10 14:16:03 stats: 125784 questions, 13971 cache entries, 309 negative entri
<para>
<function>function nodata ( remoteip, domain, qtype, records )</function> is just like <function>nxdomain</function>, except it gets called when a domain exists, but the requested type does not. This is where one would implement DNS64. Available since version 3.4.
</para>
-
<para>
All these functions are passed the IP address of the requester, plus the name and type being requested. In return, these functions indicate if they
have taken over the request, or want to let normal proceedings take their course.
@@ -15173,7 +15172,6 @@ end
</para>
</listitem>
</varlistentry>
-
<varlistentry>
<term>qname</term>
<listitem>
@@ -15201,6 +15199,19 @@ end
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>qclass</term>
+ <listitem>
+ <para>
+ Query-Class of a record. Defaults to 1 (IN). Be sure to always return the correct qclass in each record! Valid query-classes are 1 (IN), 3 (CHAOS), 254 (NONE) and 255 (ANY).
+ <warning>
+ <para>
+ Only the IN class (1) is fully supported!
+ </para>
+ </warning>
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
<para>

0 comments on commit 438db54

Please sign in to comment.