stamparm / python-doh

Python client for DNS over HTTPS (DoH) protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-doh Build Status Python 2.6|2.7|3.x License

Python client for DNS over HTTPS (DoH) protocol

Example usage:

>>> import client
>>> print(client.query("one.one.one.one"))
['1.0.0.1', '1.1.1.1']
>>> print(client.query("one", "NS"))
['a.nic.one.', 'b.nic.one.', 'c.nic.one.', 'd.nic.one.']

About

Python client for DNS over HTTPS (DoH) protocol

License:MIT License


Languages

Language:Python 100.0%