MCPcopy Create free account
hub / github.com/DingGuodong/LinuxBashShellScriptForOps / query_dns_rr

Function query_dns_rr

functions/net/dns/query-dns-rr.py:30–80  ·  view source on GitHub ↗

query ip address of given domain name :param qname: domain name :param rdtype: A, CNAME, MX, TXT, NS, SRV, ... :param nameserver: :param debug: enable debug, :return: dict

(qname, rdtype=dns.rdatatype.A, nameserver="114.114.114.114", debug=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

query-dns-rr.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected