dnc

CLI tool to check domain names configuration and statistics
Log | Files | Refs | README | LICENSE

commit de05ad25cb18dd43a7377f220b0116a7bb7584f8
parent 12244dfa635ceb76cba18076ea956bf9148ea14b
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 24 Feb 2021 12:21:56 +0100

Linting.

Diffstat:
Mdnc.py | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dnc.py b/dnc.py @@ -23,12 +23,14 @@ from prettytable import PrettyTable socket.setdefaulttimeout(1) + def usage(): - print("dnc [-hv] domain\n\n" \ - "The options are as follows:\n\n" \ - " -h Display usage.\n" \ + print("dnc [-hv] domain\n\n" + "The options are as follows:\n\n" + " -h Display usage.\n" " -v Display version.") + def query(domain: str, rrtype: str) -> str: try: answers = dns.resolver.resolve(domain, rrtype)