Skip to main content

Consul DNS SRV Helper

Project description

Consul DNS SRV

Install

pip install consul-dns-srv

Environment Variables

NAMESERVER

or

NAMESERVER_HOST
NAMESERVER_PORT

Usage

from consul_dns_srv import DNS

host = DNS.service_lookup("myservice")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for consul-dns-srv, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size consul_dns_srv-0.0.2-py3-none-any.whl (2.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size consul-dns-srv-0.0.2.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page