./net/py-dns, Python DNS toolkit

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.15.0, Package name: py27-dns-1.15.0, Maintainer: gson

dnspython is a DNS toolkit for Python. It provides both high and low
level access to DNS. The high level classes perform queries for data
of a given name, type, and class, and return an answer set. The low
level classes allow direct manipulation of DNS zones, messages, names,
and records.

This is the python-2.x version of the module.

Required to run:
[devel/py-setuptools] [lang/python27]

Master sites:

SHA1: fcb8edb4b307f68a27cd356e7b44f53512b63b5e
RMD160: b3bf88a627850d29b5da6e67d5f2e9643283bc65
Filesize: 140.696 KB

Version history: (Expand)

CVS history: (Expand)

   2016-11-11 10:39:05 by Filip Hajny | Files touched by this commit (3) | Package updated
Log message:
Update net/py-dns to 1.15.0.

* IDNA 2008 support is now available if the "idna" module has been
  installed and IDNA 2008 is requested.  The default IDNA behavior
  is still IDNA 2003.  The new IDNA codec mechanism is currently
  only useful for direct calls to dns.name.from_text() or
  dns.name.from_unicode(), but in future releases it will be
  deployed throughout dnspython, e.g. so that you can read a
  masterfile with an IDNA 2008 codec in force.

* By default, dns.name.to_unicode() is not strict about which
  version of IDNA the input complies with.  Strictness can be
  requested by using one of the strict IDNA codecs.

* Add AVC RR support.

* Some problems with newlines in various output modes have been

* dns.name.to_text() now returns text and not bytes on Python 3.x

* More miscellaneous fixes for the Python 2/3 codeline merge.
   2016-06-30 19:45:04 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated py-dns to 1.14.0.

2016-05-27  Bob Halley  <halley@dnspython.org>

	* (Version 1.14.0 released)

	* Add CSYNC RR support

	* Fix bug in LOC which destroyed N/S and E/W distinctions within
	  a degree of the equator or prime merdian respectively.

	* Misc. fixes to deal with fallout from the Python 2 & 3 merge.
	  [issue #156], [issue #157], [issue #158], [issue #159],
	  [issue #160].

	* Running with python optimization on caused issues when
	  stripped docstrings were referenced. [issue #154]

	* dns.zone.from_text() erroneously required the zone to be provided.
	  [issue #153]

2016-05-13  Bob Halley  <halley@dnspython.org>

	* dns/message.py (make_query): Setting any value which implies
	  EDNS will turn on EDNS if 'use_edns' has not been specified.

2016-05-12  Bob Halley  <halley@dnspython.org>

	* TSIG signature algorithm setting was broken by the Python 2
	  and Python 3 code line merge.  Fixed.

2016-05-10  Bob Halley  <halley@dnspython.org>

	* (Version 1.13.0 released)

2016-05-10  Bob Halley  <halley@dnspython.org>

	* Dropped support for Python 2.4 and 2.5.

	* Zone origin can be specified as a string.

	* Support string representation for all DNSExceptions.

	* Use setuptools not distutils

	* A number of Unicode name bug fixes.

	* Added support for CAA, CDS, CDNSKEY, EUI48, EUI64, and URI RR

	* Names now support the pickle protocol.

	* NameDicts now keep the max-depth value correct, and update

	* resolv.conf processing rejects lines with too few tokens.

	* Ports can be specified per-nameserver in the stub resolver.

2016-05-03  Arthur Gautier

        * Single source support for python 2.6+ and 3.3+

2014-09-04  Bob Halley  <halley@dnspython.org>

	* Comparing two rdata is now always done by comparing the binary
	  data of the DNSSEC digestable forms.  This corrects a number of
	  errors where dnspython's rdata comparison order was not the
	  DNSSEC order.

	* Add CAA implementation.  Thanks to Brian Wellington for the
   2016-03-06 17:58:38 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
Changes 1.12.0:
	* The test system can now run the tests without requiring dnspython
	  to be installed.
	* The 64-bit version of Python on Windows has sys.maxint set to
	  2^31-1, yet passes 2^63-1 as the "unspecified bound" value in
	  slices.  This is a bug in Python as the documentation says the
	  unspecified bound value should be sys.maxint.  We now cope with
	* When reading from a masterfile, if the first content line
	  started with leading whitespace, we raised an ugly exception
	  instead of doing the right thing, namely using the zone origin as
	  the name.
	* Added dns.zone.to_text() convenience method.
	* The /etc/resolv.conf setting "options rotate" is now understood
	  by the resolver.  If present, the resolver will shuffle the
	  nameserver list each time dns.resolver.query() is called.  Thanks
	  to underrun for the patch.  Note that you don't want to add
	  "options rotate" to your /etc/resolv.conf if your system's
	  resolver library does not understand it.  In this case, just set
	  resolver.rotate = True by hand.
	* Escaping of Unicode has been corrected.  Previously we escaped
	  and then converted to Unicode, but the right thing to do is
	  convert to Unicode, then escape.  Also, characters > 0x7f should
	  NOT be escaped in Unicode mode.
	* dns.rdtypes.ANY.DNSKEY now has helpers functions to convert
	  between the numeric form of the flags and a set of human-friendly
	* RRSIGs did not respect relativization settings in to_text().
	* dns/rdtypes/IN/APL.py: The APL from_wire() method did not accept an
	  rdata length of 0 as valid.
	* dns/ipv6.py: Add is_mapped()
	* dns/reversename.py: Lookup IPv6 mapped IPv4 addresses in the v4
	  reverse namespace.
	* dns/zone.py: Do not put back an unescaped token.  This was
	  causing escape processing for domain names to break.
	* dns/message.py: Making a response didn't work correctly if the
	  query was signed with TSIG and we knew the key.
	* dns/query.py: Fix problems with the IXFR state machine which caused
	  long diffs to fail.
   2015-12-05 22:26:09 by Adam Ciarcinski | Files touched by this commit (578)
Log message:
   2015-11-04 01:35:47 by Alistair G. Crooks | Files touched by this commit (748)
Log message:
Add SHA512 digests for distfiles for net category

Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-05-09 09:37:28 by Thomas Klausner | Files touched by this commit (553)
Log message:
Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
   2014-01-25 10:09:06 by Thomas Klausner | Files touched by this commit (2)
Log message:
Mention this is the python-2.x version of the module.
   2014-01-17 23:48:53 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Update to 1.11.1:

	* (Version 1.11.1 released)

	* dns/tsigkeyring.py (to_text): we want keyname.to_text(), not
	  dns.name.to_text(keyname).  Thangs to wangwang for the fix.

	* dns/tsig.py (sign): multi-message TSIGs were broken for
	  algorithms other than HMAC-MD5 because we weren't passing the
	  right digest module to the HMAC code.  Thanks to salzmdan for
	  reporting the bug.

	* dns/dnssec.py (_find_candidate_keys): we tried to extract the
	  key from the wrong variable name.  Thanks to Andrei Fokau for the

	* dns/resolver.py: we want 'self.retry_servfail' not just
	  retry_servfail.  Reported by many, thanks!  Thanks to
	  Jeffrey C. Ollie for the fix.

	* tests/grange.py: fix tests to use older-style print formatting
	  for backwards compatibility with python 2.4.  Thanks to
	  Jeffrey C. Ollie for the fix.

	* (Version 1.11.0 released)

	* dns/name.py (Name.to_wire): Do not add items with offsets >= 2^14
	  to the compression table.  Thanks to Casey Deccio for discovering
	  this bug.

	* dns/ipv6.py (inet_ntoa): We now comply with RFC 5952 section
	  5.2.2, by *not* using the :: syntax to shorten just one 16-bit
	  field.  Thanks to David Waitzman for reporting the bug and
	  suggesting the fix.

	* lock caches in case they are shared

	* raise YXDOMAIN if we see one

	* do not print empty rdatasets

	* Add contributed $GENERATE support (thanks uberj)

	* Remove DNSKEY keytag uniqueness assumption (RFC 4034, section 8)
	  (thanks James Dempsey)

	* added set_flags() method to dns.resolver.Resolver

	* added support for TLSA RR

	* dns/rdtypes/ANY/NSEC3.py (NSEC3.from_text): The NSEC3 from_text()
	  method could erroneously emit empty bitmap windows (i.e. windows
	  with a count of 0 bytes); such bitmaps are illegal.

	* (Version 1.10.0 released)

	* dns/message.py (make_query): All EDNS values may now be
	  specified when calling make_query()

	* dns/query.py: Specifying source_port had no effect if source was
	  not specified.  We now use the appropriate wildcard source in
	  that case.

	* dns/resolver.py (Resolver.query): source_port may now be

	* dns/resolver.py (Resolver.query): Switch to TCP when a UDP
	  response is truncated.  Handle nameservers that serve on UDP
	  but not TCP.

	* dns/zone.py (from_xfr): dns.zone.from_xfr() now takes a
	  'check_origin' parameter which defaults to True.  If set to
	  False, then dnspython will not make origin checks on the zone.
	  Thanks to Carlos Perez for the report.

	* dns/rdtypes/ANY/SSHFP.py (SSHFP.from_text): Allow whitespace in
	  the text string.  Thanks to Jan Andres for the report and the

	* dns/message.py (from_wire): dns.message.from_wire() now takes
	  an 'ignore_trailing' parameter which defaults to False.  If set
	  to True, then trailing junk will be ignored instead of causing
	  TrailingJunk to be raised.  Thanks to Shane Huntley for
	  contributing the patch.

	* dns/resolver.py: Added LRUCache.  In this cache implementation,
	  the cache size is limited to a user-specified number of nodes, and
	  when adding a new node to a full cache the least-recently used
	  node is removed.

	* dns/resolver.py: dns.resolver.override_system_resolver()
  	  overrides the socket module's versions of getaddrinfo(),
	  getnameinfo(), getfqdn(), gethostbyname(), gethostbyname_ex() and
	  gethostbyaddr() with an implementation which uses a dnspython stub
	  resolver instead of the system's stub resolver.  This can be
	  useful in testing situations where you want to control the
	  resolution behavior of python code without having to change the
	  system's resolver settings (e.g. /etc/resolv.conf).
	  dns.resolver.restore_system_resolver() undoes the change.

	* dns/ipv4.py: dnspython now provides its own, stricter, versions
	  of IPv4 inet_ntoa() and inet_aton() instead of using the OS's

	* dns/ipv6.py: inet_aton() now bounds checks embedded IPv4 addresses
	  more strictly.  Also, now only dns.exception.SyntaxError can be
	  raised on bad input.

	* Old DNSSEC types (KEY, NXT, and SIG) have been removed.

	* Bounds checking of slices in rdata wire processing is now more
	  strict, and bounds errors (e.g. we got less data than was
	  expected) now raise dns.exception.FormError rather than