Skip to main content

Manipulate DNS records on various DNS providers in a standardized/agnostic way

Project description

Lexicon

Manipulate DNS records on various DNS providers in a standardized/agnostic way.

build_status tests_status coverage_status docker_pulls pypy_version github_license

Why using Lexicon?

Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way.

Lexicon can be used as:

  • a CLI tool:

# Create a TXT entry in domain.net zone hosted by CloudFlare
lexicon cloudflare create domain.net TXT --name foo --content bar
  • or a Python library:

# Create a TXT entry in domain.net zone hosted by CloudFlare
from lexicon.client import Client
from lexicon.config import ConfigResolver

config = ConfigResolver().with_env().with_dict({
    "provider_name" : "cloudflare",
    "domain": "domain.net",
})

with Client(config) as operations:
    operations.create_record("TXT", "foo", "bar")

Lexicon was designed to be used in automation, specifically letsencrypt.

Supported providers

Only DNS providers who have an API can be supported by lexicon.

Lexicon currently supports 90 providers:

aliyun

arvancloud

aurora

azure

cloudflare

cloudns

cloudxns

conoha

constellix

ddns

desec

devnomads

digitalocean

dinahosting

directadmin

dnsimple

dnsmadeeasy

dnspark

dnspod

dnsservices

dreamhost

duckdns

dynu

easydns

easyname

euserv

exoscale

flexibleengine

gandi

gehirn

glesys

godaddy

googleclouddns

gransy

gratisdns

henet

hetzner

hostingde

hover

httpnet

infoblox

infomaniak

internetbs

inwx

ionos

joker

linode

linode4

localzone

luadns

memset

misaka

mythicbeasts

namecheap

namecom

namesilo

netcup

nfsn

njalla

nsone

oci

onapp

online

ovh

plesk

pointhq

porkbun

powerdns

qcloud

rackspace

rage4

rcodezero

regfish

route53

safedns

sakuracloud

scaleway

softlayer

timeweb

transip

ultradns

valuedomain

vercel

vultr

wedos

yandex

yandexcloud

zeit

zilore

zonomi

Documentation

Online documentation (user guide, configuration reference) is available in the Lexicon documentation.

For a quick start, please have a look in particular at the User guide.

Contributing

If you want to help in the Lexicon development, you are welcome!

Please have a look at the Developer guide page to know how to start.

Licensing

  • MIT

  • Logo: transform by Mike Rowe from the Noun Project

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

dns_lexicon-3.25.0.tar.gz (164.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dns_lexicon-3.25.0-py3-none-any.whl (266.8 kB view details)

Uploaded Python 3

File details

Details for the file dns_lexicon-3.25.0.tar.gz.

File metadata

  • Download URL: dns_lexicon-3.25.0.tar.gz
  • Upload date:
  • Size: 164.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dns_lexicon-3.25.0.tar.gz
Algorithm Hash digest
SHA256 c0a2b36d72cbedc59ad6fb9145015522696503d72ce6ffd6743b311ee08c2f0e
MD5 8ee0ca8ab6e5cf9fd6df25482b453346
BLAKE2b-256 c3739e772c81c1f0caa6dbfee06565811dfddc73279ed6d666736d3649f81141

See more details on using hashes here.

File details

Details for the file dns_lexicon-3.25.0-py3-none-any.whl.

File metadata

  • Download URL: dns_lexicon-3.25.0-py3-none-any.whl
  • Upload date:
  • Size: 266.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dns_lexicon-3.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73f9649a9e9bdf13d8515cbf8a3a66d72c027f8e1380a51fa85d186958f1254c
MD5 0f5e7c9fe2c50da094580438ac5890c0
BLAKE2b-256 fd6a2276ef9406a9115b820e03064ed5d0c8ea5bdacd4e852eb8216ea12b0ba3

See more details on using hashes here.

Supported by

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