From: DNS-Leo <48684914+DNS-Leo@users.noreply.github.com> Date: Mon, 18 Mar 2019 17:43:36 +0000 (+0100) Subject: Create NINFO.py X-Git-Tag: v2.0.0rc1~369^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f1bb5716634171ec1e4b819101f673d8764733b;p=thirdparty%2Fdnspython.git Create NINFO.py Added NINFO record - assigned as type 56 by IANA See: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4 https://www.iana.org/assignments/dns-parameters/NINFO/ninfo-completed-template https://tools.ietf.org/html/draft-reid-dnsext-zs-01 --- diff --git a/dns/rdtypes/ANY/NINFO.py b/dns/rdtypes/ANY/NINFO.py new file mode 100644 index 00000000..d754bc1a --- /dev/null +++ b/dns/rdtypes/ANY/NINFO.py @@ -0,0 +1,24 @@ +# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license + +# Copyright (C) 2006, 2007, 2009-2011 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 NINFO(dns.rdtypes.txtbase.TXTBase): + + """NINFO record + @see: draft-reid-dnsext-zs-01"""