Skip to content

simonw/datasette-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datasette-dns

PyPI Changelog Tests License

Custom SQL function for making DNS lookups

Installation

Install this plugin in the same environment as Datasette.

$ datasette install datasette-dns

Usage

So far the only supported SQL function is:

select dns_txt("oreilly.com");

Try this out in the live demo.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-dns
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and tests:

pip install -e '.[test]'

To run the tests:

pytest

About

Custom SQL function for making DNS lookups

Resources

Stars

Watchers

Forks

Sponsor this project

 

Languages