python/checknsについて、ここに記述してください。

tmaeno@tokyo:~/com$ Traceback (most recent call last):
  File "/home/tmaeno/mydnslib/check.py", line 16, in <module>
    checkns(d, set(nslist))  # check delegation   
  File "/home/tmaeno/mydnslib/Get_ns.py", line 70, in checkns
    zonens = get_ns(d,name)
  File "/home/tmaeno/mydnslib/Get_ns.py", line 48, in get_ns
    a_pkt = q.send(address, 53, timeout =5, tcp=False)
  File "/usr/local/lib/python3.10/dist-packages/dnslib-0.9.20-py3.10.egg/dnslib/dns.py", line 379, in send
    sock.sendto(self.pack(),(dest,port))
PermissionError: [Errno 1] Operation not permitted
make: *** [Makefile:16: simple.ch] Error 1

[1]+  Exit 2                  make simple.ch

$ tail simple.ch
gatewayworship.com dict_keys(['ns1.dnsimple.com.', 'ns2.dnsimple.com.', 'ns3.dnsimple.com.', 'ns4.dnsimple-edge.org.'])

#NS gatewayworship.com {'ns2.dnsimple.com.', 'ns4.dnsimple-edge.org.', 'ns3.dnsimple.com.', 'ns1.dnsimple.com.'}
gatewayworship.com ns2.dnsimple.com. 162.159.25.4
match gatewayworship.com ns2.dnsimple.com. ==
gatewayworship.com ns4.dnsimple-edge.org. 199.247.155.53
match gatewayworship.com ns4.dnsimple-edge.org. ==
gatewayworship.com ns3.dnsimple.com. 162.159.26.4
match gatewayworship.com ns3.dnsimple.com. ==
gatewayworship.com ns1.dnsimple.com. 162.159.24.4

MoinQ: python/checkns (last edited 2023-03-27 22:17:19 by ToshinoriMaeno)