Skip to content

Instantly share code, notes, and snippets.

@Vault108
Vault108 / get_dns_records.py
Created January 22, 2021 22:24 — forked from akshaybabloo/get_dns_records.py
Printing all DNS records using DNSPython in Python 3
#!/usr/bin/env python
# -*- coding utf-8 -*-
#
# Copyright 2016 Akshay Raj Gollahalli
import dns.resolver
def get_records(domain):
"""