Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
python3-dnspython /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
async_dns.py
702
B
-rw-r--r--
2020-10-24 23:17
ddns.py
1.18
KB
-rwxr-xr-x
2020-08-17 01:59
doh-json.py
2.95
KB
-rwxr-xr-x
2020-08-17 01:59
doh.py
1.16
KB
-rwxr-xr-x
2020-08-17 01:59
e164.py
114
B
-rwxr-xr-x
2020-08-17 01:59
ecs.py
429
B
-rwxr-xr-x
2020-08-17 01:59
mx.py
189
B
-rwxr-xr-x
2020-10-24 23:17
name.py
430
B
-rwxr-xr-x
2020-08-17 01:59
query_specific.py
815
B
-rw-r--r--
2020-10-24 23:17
receive_notify.py
1.01
KB
-rw-r--r--
2020-08-17 01:59
reverse.py
1.39
KB
-rwxr-xr-x
2020-08-17 01:59
reverse_name.py
139
B
-rwxr-xr-x
2020-08-17 01:59
xfr.py
340
B
-rwxr-xr-x
2021-01-07 22:23
zonediff.py
11.53
KB
-rwxr-xr-x
2020-08-17 01:51
Save
Rename
#!/usr/bin/env python3 # This is just a toy, real code would check that the received message # really was a NOTIFY, and otherwise handle errors. import socket import dns.flags import dns.message import dns.rdataclass import dns.rdatatype import dns.name from typing import cast address = '127.0.0.1' port = 53535 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.bind((address, port)) while True: (wire, address) = s.recvfrom(512) notify = dns.message.from_wire(wire) try: soa = notify.find_rrset(notify.answer, notify.question[0].name, dns.rdataclass.IN, dns.rdatatype.SOA) # Do something with the SOA RR here print('The serial number for', soa.name, 'is', soa[0].serial) except KeyError: # No SOA RR in the answer section. pass response = dns.message.make_response(notify) # type: dns.message.Message response.flags |= dns.flags.AA wire = response.to_wire(cast(dns.name.Name, response)) s.sendto(wire, address)