Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
python3-dns /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
async_dns.py
874
B
-rw-r--r--
2024-02-18 18:35
ddns.py
1.17
KB
-rw-r--r--
2024-02-18 18:35
ddr.py
950
B
-rw-r--r--
2024-02-18 18:35
doh-json.py
2.93
KB
-rw-r--r--
2024-02-18 18:35
doh.py
534
B
-rw-r--r--
2024-02-18 18:35
doq.py
3.07
KB
-rw-r--r--
2024-02-18 18:35
e164.py
115
B
-rw-r--r--
2024-02-18 18:35
ecs.py
450
B
-rw-r--r--
2024-02-18 18:35
edns.py
1.7
KB
-rw-r--r--
2024-02-18 18:35
edns_resolver.py
1.5
KB
-rw-r--r--
2024-02-18 18:35
mx.py
189
B
-rw-r--r--
2024-02-18 18:35
name.py
356
B
-rw-r--r--
2024-02-18 18:35
query_specific.py
1.62
KB
-rw-r--r--
2024-02-18 18:35
receive_notify.py
1022
B
-rw-r--r--
2024-02-18 18:35
reverse.py
1.36
KB
-rw-r--r--
2024-02-18 18:35
reverse_name.py
140
B
-rw-r--r--
2024-02-18 18:35
send_notify.py
2.4
KB
-rw-r--r--
2024-02-18 18:35
wire_read_tcp.py
1.62
KB
-rw-r--r--
2024-02-18 18:35
xfr.py
340
B
-rw-r--r--
2024-02-18 18:35
zonediff.py
11.89
KB
-rw-r--r--
2024-02-18 18:35
Save
Rename
#!/usr/bin/env python3 import dns.edns import dns.message import dns.query import dns.resolver n = "." t = dns.rdatatype.SOA l = "199.7.83.42" # Address of l.root-servers.net i = "149.20.1.73" # Address of ns1.isc.org, for COOKIEs q_list = [] # A query without EDNS0 q_list.append((l, dns.message.make_query(n, t))) # The same query, but with EDNS0 turned on with no options q_list.append((l, dns.message.make_query(n, t, use_edns=0))) # Use use_edns() to specify EDNS0 options, such as buffer size this_q = dns.message.make_query(n, t) this_q.use_edns(0, payload=2000) q_list.append((l, this_q)) # With an NSID option # use_edns=0 is not needed if options are specified) q_list.append( ( l, dns.message.make_query( n, t, options=[dns.edns.GenericOption(dns.edns.OptionType.NSID, b"")] ), ) ) # With an NSID option, but with use_edns() to specify the options this_q = dns.message.make_query(n, t) this_q.use_edns(0, options=[dns.edns.GenericOption(dns.edns.OptionType.NSID, b"")]) q_list.append((l, this_q)) # With a COOKIE q_list.append( ( i, dns.message.make_query( n, t, options=[ dns.edns.GenericOption( dns.edns.OptionType.COOKIE, b"0xfe11ac99bebe3322" ) ], ), ) ) # With an ECS option using dns.edns.ECSOption to form the option q_list.append( (l, dns.message.make_query(n, t, options=[dns.edns.ECSOption("192.168.0.0", 20)])) ) for addr, q in q_list: r = dns.query.udp(q, addr) if not r.options: print("No EDNS options returned") else: for o in r.options: print(o.otype.value, o.data) print()