http://unicode.org/reports/tr46/ for more info on what this
means.
- * Problems with newlines in various output modes have been
- addressed, but I suspect there is more to come in this area.
+ * Add AVC RR support.
+
+ * Some problems with newlines in various output modes have been
+ addressed.
* More miscellaneous fixes for the Python 2/3 codeline merge.
ANY = 255
URI = 256
CAA = 257
+AVC = 258
TA = 32768
DLV = 32769
'ANY': ANY,
'URI': URI,
'CAA': CAA,
+ 'AVC': AVC,
'TA': TA,
'DLV': DLV,
}
--- /dev/null
+# Copyright (C) 2016 Nominum, Inc.
+#
+# Permission to use, copy, modify, and distribute this software and its
+# documentation for any purpose with or without fee is hereby granted,
+# provided that the above copyright notice and this permission notice
+# appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+import dns.rdtypes.txtbase
+
+
+class AVC(dns.rdtypes.txtbase.TXTBase):
+
+ """AVC record
+
+ @see: U{http://www.iana.org/assignments/dns-parameters/AVC/avc-completed-template}"""
caa05 CAA 0 issue "ca.example.net; policy=ev"
caa06 CAA 128 tbs "Unknown"
csync0 CSYNC 12345 0 A MX RRSIG NSEC TYPE1234
+avc01 AVC "app-name:WOLFGANG|app-class:OAM|business=yes"
afsdb02 3600 IN AFSDB 65535 .
apl01 3600 IN APL 1:192.168.32.0/21 !1:192.168.38.0/28
apl02 3600 IN APL 1:224.0.0.0/4 2:FF00:0:0:0:0:0:0:0/8
+avc01 3600 IN AVC "app-name:WOLFGANG|app-class:OAM|business=yes"
b 300 IN CNAME foo.net.
c 300 IN A 73.80.65.49
caa01 3600 IN CAA 0 issue "ca.example.net"
afsdb02.example. 3600 IN AFSDB 65535 .
apl01.example. 3600 IN APL 1:192.168.32.0/21 !1:192.168.38.0/28
apl02.example. 3600 IN APL 1:224.0.0.0/4 2:FF00:0:0:0:0:0:0:0/8
+avc01.example. 3600 IN AVC "app-name:WOLFGANG|app-class:OAM|business=yes"
b.example. 300 IN CNAME foo.net.
c.example. 300 IN A 73.80.65.49
caa01.example. 3600 IN CAA 0 issue "ca.example.net"
afsdb02 3600 IN AFSDB 65535 .
apl01 3600 IN APL 1:192.168.32.0/21 !1:192.168.38.0/28
apl02 3600 IN APL 1:224.0.0.0/4 2:FF00:0:0:0:0:0:0:0/8
+avc01 3600 IN AVC "app-name:WOLFGANG|app-class:OAM|business=yes"
b 300 IN CNAME foo.net.
c 300 IN A 73.80.65.49
caa01 3600 IN CAA 0 issue "ca.example.net"