Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mailgun/dnsq
DNS Query Tool
https://github.com/mailgun/dnsq
Last synced: 2 days ago
JSON representation
DNS Query Tool
- Host: GitHub
- URL: https://github.com/mailgun/dnsq
- Owner: mailgun
- Created: 2014-02-20T02:32:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-07T08:14:51.000Z (over 1 year ago)
- Last Synced: 2024-08-03T12:03:33.287Z (3 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 108
- Watchers: 29
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- License: LICENSE/LICENSE_NOMINUM
Awesome Lists containing this project
README
dnsq
====DNS Query Tool
Usage
-----.. code-block:: py
>>> import dnsq
>>> dnsq.query_dns('www.example.com', 'a')
['93.184.216.119'].. code-block:: py
>>> import dnsq
>>> dnsq.mx_hosts_for('example.com')
['example.com']