]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Create NINFO.py 357/head
authorDNS-Leo <48684914+DNS-Leo@users.noreply.github.com>
Mon, 18 Mar 2019 17:43:36 +0000 (18:43 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2019 17:43:36 +0000 (18:43 +0100)
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

dns/rdtypes/ANY/NINFO.py [new file with mode: 0644]

diff --git a/dns/rdtypes/ANY/NINFO.py b/dns/rdtypes/ANY/NINFO.py
new file mode 100644 (file)
index 0000000..d754bc1
--- /dev/null
@@ -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"""