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 | |
|---|---|
| DNSControl | System for maintaining DNS zones |
| q | Command line DNS client |
| octoDNS | Manage DNS across multiple providers |
| nsupdate.info | Implement a free dynamic DNS service |
| ExternalDNS | Automatically keep Kubernetes resources and their DNS records in sync |
| DNSViz | Visualise DNS and DNSSEC problems at a glance |
| dnsglobe | Check how DNS records propagate around the world |
| DNSDiag | Pinpoint DNS delays and troubleshoot lookup failures |
| DomainMOD | Manage domains and other internet assets in a central location |
| Poweradmin | Web-based DNS administration tool |
| dnsperf | Measure performance of authoritative domain name services |
| ctrld | Configurable DNS forwarding proxy |
| Atomia DNS | Multi-tenant system for handling large amounts of DNS data |
| SPFtoolbox | Look up DNS records |
| Flamethrower | Stress DNS servers with high-volume queries to test performance |
| DNS-collector | Collect, transform and route DNS traffic data for monitoring and analysis |
| Designate | Multi-tenant DNSaaS service for OpenStack |
| Zonemaster-CLI | Put DNS zones through extensive automated checks from a terminal |
| dnsi | Tool to investigate the DNS |
| Digger | Modern DNS lookup tool with a graphical interface |
| dnst | Toolset to assist DNS operators with zone and nameserver maintenance |
| dnspyre | Command-line DNS benchmark tool |
| dns-lexicon | Manage DNS records across providers through a consistent interface |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.