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.

Source Distribution

consul-dns-srv-0.0.2.tar.gz (1.7 kB view hashes)

Uploaded source

Built Distribution

consul_dns_srv-0.0.2-py3-none-any.whl (2.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page