Python DNS

Open-source Python projects categorized as DNS

Top 23 Python DNS Projects

  • Twisted

    Event-driven networking engine written in Python.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • dnstwist

    Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation

  • Project mention: Have I Been Squatted? | | 2023-11-27
  • octoDNS

    Tools for managing DNS across multiple providers

  • Project mention: Show HN: WireHub – easily create and share WireGuard networks | | 2023-11-05
  • dnspython

    a powerful DNS toolkit for python

  • PowerDNS-Admin

    A PowerDNS web interface with advanced features

  • Project mention: PowerDNS Admin Project Update | /r/wisp | 2023-11-27
  • noisy

    Simple random DNS, HTTP/S internet traffic noise generator

  • fierce

    A DNS reconnaissance tool for locating non-contiguous IP space.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • lexicon

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

  • Project mention: Dehydrated: Letsencrypt/acme client implemented as a shell-script | | 2024-04-19

    One of the biggest benefits of dehydrated is that it doesn't try to integrate with a DNS provider on its own. It just calls a hook, which can be implemented with a simple shell script[1]. The most popular third-party integration is lexicon[2], though you're not required to use Lexicon. (e.g. you're free to use awscli, gcloud, linode-cli, etc. to do the actual DNS record manipulation)

    This means its dependencies footprint is much smaller, and allows you to do things that can be a nightmare to configure with Certbot or other alternatives. For example, at one of the scenarios I had to set up was that we had to query a credential via HashiCorp Vault, which is then used to cURL into an API endpoint. The shell script in total was pretty short (< 100 LOC) and it worked extremely well.



  • Sooty

    The SOC Analysts all-in-one CLI tool to automate and speed up workflow.

  • dnscrypt-resolvers

    Lists of public DNSCrypt / DoH DNS servers and DNS relays

  • Project mention: Unifi ad block bypasses pihole | /r/pihole | 2023-06-28

    Block the google, cloudflare ones - will cover most situations. Or white-list egress IPs for your unknown devices if you have to use them. Or setup a transparent proxy and inspect the content there and deny DNS. There ARE ways but yes things get a bit more complex. Most firewalls will be happy to index a long list of IPs as a set and perform well checking if src/dst ip matches. So you can use sites like to extract the list of IPs and update the set.

  • python-email-validator

    A robust email syntax and deliverability validation library for Python.

  • Project mention: Robust Email Validator | | 2023-09-06

    Dynamic DNS service

  • FreeIPA

    Mirror of FreeIPA, an integrated security information management solution

  • Project mention: FreeIPA – Identity, Policy, Audit | | 2024-05-06
  • dnsdiag

    DNS Measurement, Troubleshooting and Security Auditing Toolset

  • aiodnsbrute

    Python 3.5+ DNS asynchronous brute force utility

  • dnsrobocert

    Orchestrate Certbot and Lexicon together to provide Let's Encrypt TLS certificates validated by DNS challenges

  • toriptables2

    Tor Iptables script is an anonymizer that sets up iptables and tor to route all services and traffic including DNS through the Tor network.

  • Ip-Attack

    Auto IP or Domain Attack Tool ( #1 )

  • desec-stack

    Backbone of the Free Secure DNS Hosting Service

  • Project mention: Secondary authoritative DNS service providers compared (2020) | | 2024-04-08

    NB. I do not know the number of POP for deSEC but it is certainly more than 1.

  • docker-traefik-cloudflare-companion

    Automatically Create CNAME records for containers served by Traefik

  • dnslib

    A Python library to encode/decode DNS wire-format packets

  • Project mention: Python Networking: TCP and UDP | | 2023-07-20

    In the last installment we looked at IP headers. One thing you might have seen missing is the port numbers. That's pretty important for making an internet connection. Well it turns out that IP tends to encapsulate other protocols (which is why it has protocol as part of the header). In this article we'll be looking at two popular protocols for internet traffic: TCP and UDP. Before we begin though install scapy which we'll be using to make things easier, and dnslib that will be used during the UDP section:

  • polaris-gslb

    A free, open source GSLB (Global Server Load Balancing) solution.

  • checkdmarc

    A parser for SPF and DMARC DNS records

  • Project mention: Show HN: DMARC Checker | | 2024-02-20

    I don’t want to take away your spotlight, because it’s a nice project you launched even though I personally am allergic to small services that makes me log in, so I do want to point out to people that exists for quite a while. I use it a lot manually and have also integrated it in various automated tooling.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python DNS discussion

Log in or Post with

Python DNS related posts

  • DNS到底怎么运作的

    2 projects | | 29 May 2024
  • Secondary authoritative DNS service providers compared (2020)

    1 project | | 8 Apr 2024
  • Show HN: DMARC Checker

    1 project | | 20 Feb 2024
  • Ask HN: For what purposes do you use a Raspberry Pi?

    3 projects | | 17 Feb 2024
  • Using DuckDNS with custom domain

    1 project | /r/selfhosted | 11 Dec 2023
  • DuckDNS is down again, seeking alternatives for multiple domains

    1 project | /r/selfhosted | 5 Dec 2023
  • PowerDNS Admin Project Update

    1 project | /r/wisp | 27 Nov 2023
  • A note from our sponsor - InfluxDB | 14 Jun 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →


What are some of the best open-source DNS projects in Python? This list will help you:

Project Stars
1 Twisted 5,471
2 dnstwist 4,647
3 octoDNS 3,010
4 dnspython 2,367
5 PowerDNS-Admin 2,359
6 noisy 1,632
7 fierce 1,532
8 lexicon 1,454
9 Sooty 1,293
10 dnscrypt-resolvers 1,133
11 python-email-validator 1,047
12 1,014
13 FreeIPA 935
14 dnsdiag 903
15 aiodnsbrute 632
16 dnsrobocert 547
17 toriptables2 452
18 Ip-Attack 402
19 desec-stack 347
20 docker-traefik-cloudflare-companion 342
21 dnslib 295
22 polaris-gslb 276
23 checkdmarc 234

Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in is all you need to start monitoring your apps. Sign up for our free tier today.