Skip to main content live DNS client Api

Project description live DNS API Client Python Library

PyPI version

Easily search for trips!


Works on 3.x python.

pip install gandi-api-livedns


from gandi_api_livedns import GandiApiLiveDNS

# initialize API
gandiApiLiveDNS = GandiApiLiveDNS(api_key="__your_api_key_here__")

# set rrname and domain
gandiApiLiveDNS.rrname = 'dummy'
gandiApiLiveDNS.domain = ''

# get real ip
RealIP = gandiApiLiveDNS.getRealIP()

# get registered dns record
DNSRecord = gandiApiLiveDNS.getDNSRecord()

# update dns record with detected ip
updateDNSRecord = gandiApiLiveDNS.updateDNSRecord()

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

gandi-api-livedns-0.3.0.tar.gz (4.1 kB view hashes)

Uploaded source

Built Distribution

gandi_api_livedns-0.3.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page