- Notifications
You must be signed in to change notification settings - Fork0
a thin python wrapper and caching layer for dns lookups
License
nresare/dnsplug
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project provides a simple high level api for performingDNS lookups. The actual DNS protocol implementation is providedby either py3dns/pydns or dnspython, depending on which of theseis available. Additionally, responses are cached to improvethe performance of multiple queries for the same value.
This code was originally written by Stuart D. Gathman as part of thepymilter project
Dnsplug depends on either pydns/py3dns or dnspython (attempted inthat order). If running in python2, thetyping module is also needed
in your virtualenv, runpip install tox and then invoketox. Thisexpects a python 2.7 and python 3.6 to be available.
Short answer: to be able to correctly test with tox, long answerhere
- As the copied code from pymilter notes, it is a bit inconsistentthat AAAA records are returned as binary strings but A is returnedas a dot separated octet ascii string. Let's figure out somethingbetter.
- Figure out a way to do testing that doesn't depend on internetconnectivity. Let's mock the remote end.
- Testing of various failure modes.
- Set up automated testing somewhere (Travis CI?)
About
a thin python wrapper and caching layer for dns lookups
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.