https://github.com/saghul/evergreen-dns
Simple DNS resolver for Evergreen
https://github.com/saghul/evergreen-dns
Last synced: about 1 year ago
JSON representation
Simple DNS resolver for Evergreen
- Host: GitHub
- URL: https://github.com/saghul/evergreen-dns
- Owner: saghul
- License: mit
- Created: 2013-05-19T22:07:10.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-19T22:17:19.000Z (about 13 years ago)
- Last Synced: 2025-02-13T06:46:50.625Z (over 1 year ago)
- Language: Python
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=================================
Simple DNS resolver for Evergreen
=================================
Evergreen-DNS provides a simple way for doing asynchronous DNS resolutions
with a synchronous interface by combining `pycares `_ and
`evergreen `_.
Usage
=====
Example:
::
from evergreen.ext import dns
resolver = dns.DNSResolver()
print(resolver.query('google.com','A'))
The following query types are supported: A, AAAA, CNAME, MX, NAPTR, NS, PTR, SOA, SRV, TXT.
Running the test suite
======================
To run the test suite: ``nosetests -v -w tests/``
Author
======
Saúl Ibarra Corretgé
License
=======
Evergreen-DNS uses the MIT license, check LICENSE file.
Python versions
===============
Python >= 2.6 is supported. Yes, that includes Python 3 :-)
Contributing
============
If you'd like to contribute, fork the project, make a patch and send a pull
request. Have a look at the surrounding code and please, make yours look
alike :-)