dns-lexicon – manage DNS records across multiple providers

dns-lexicon, commonly known as Lexicon, provides a provider-agnostic way to manipulate DNS records. It is intended for automation that needs to work across different DNS services without maintaining a separate integration for every provider.

The project is particularly useful where DNS records must be created or changed programmatically, such as certificate issuance, deployment workflows and infrastructure management. Providers still expose different authentication schemes and capabilities, but Lexicon normalizes common record operations behind one configuration model.

Commands identify the provider, operation, domain, record type, name and content explicitly, making common changes straightforward to invoke from scripts without an interactive workflow. Provider integrations cover hosted cloud services, specialist DNS platforms and self-managed systems, so the same project can span substantially different deployment models.

This is free and open source software.

Key Features

  • Creates, lists, updates and deletes DNS records through a standardized interface.
  • Can be used directly as a command-line utility or embedded in Python applications as a library.
  • Supports a broad collection of DNS providers, including Cloudflare, Amazon Route 53, Azure DNS, Google Cloud DNS, PowerDNS, DigitalOcean and many others.
  • Its configuration resolver can combine environment variables with settings supplied directly by an application.
  • Works well with ACME and certificate-management workflows where temporary DNS records need to be created and removed automatically.
  • Keeps provider-specific authentication and API handling inside individual provider implementations.
  • Includes support for RFC 2136 dynamic DNS alongside API-driven hosted DNS services.
  • Provides documentation for adding provider integrations when a DNS service exposes a suitable API.

Website: github.com/dns-lexicon/dns-lexicon
Support:
Developer: DNS Lexicon contributors
License: MIT License

dns-lexicon is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Useful DNS Tools
DNSControlSystem for maintaining DNS zones
qCommand line DNS client
octoDNSManage DNS across multiple providers
nsupdate.infoImplement a free dynamic DNS service
DomainMODManage domains and other internet assets in a central location
PoweradminWeb-based DNS administration tool
dnsperfMeasure performance of authoritative domain name services
ctrldConfigurable DNS forwarding proxy
Atomia DNSMulti-tenant system for handling large amounts of DNS data
SPFtoolboxLook up DNS records
DesignateMulti-tenant DNSaaS service for OpenStack
dnsiTool to investigate the DNS
DiggerModern DNS lookup tool with a graphical interface
dnstToolset to assist DNS operators with zone and nameserver maintenance
dnspyreCommand-line DNS benchmark tool

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted