consul-dns-srv

Consul DNS SRV Helper


License
Apache-2.0
Install
pip install consul-dns-srv==0.0.2

Documentation

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")