Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Class to implement RFC7871 (Client Subnet in DNS Queries) for dnspython.

License

Notifications You must be signed in to change notification settings

opendns/dnspython-clientsubnetoption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClientSubnetOption

Class to add RFC 7871 - Client Subnet in DNS Queries support to dnspython.

Installation

pip install clientsubnetoption

Requirements

Note: If you are installing dnspython on Python3, use pip install dnspython3

Changelog

2.1.1

  • Better default for bitmask values (@DarkDeviL)

2.1.0

  • Correctly set scope in to_wire (@rgacogne)
  • CLI Improvements:
    • Option to set Recursion Desired flag on the message
    • Won't fail completely on nameserver timeout

2.0.0

  • Python 3 compatible (tested with 3.4.3 & 2.7.10)
  • Can be installed via pip: pip install clientsubnetoption
  • Family is now auto-detected
  • IPs must be given as strings (versus their unpacked form)
  • ClientSubnetOption('192.168.1.1') vs ClientSubnetOption(struct.unpack('!L', socket.inet_aton('192.168.1.1'))[0])

About

Class to implement RFC7871 (Client Subnet in DNS Queries) for dnspython.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages