Skip to content

Update to Python3 script

monero-project requested to merge Snipa22:py3 into master

Created by: Snipa22

Cloudflare based, config bases. Tested w/ my test domain with no issues.

(xmr-seeder) snipa@electrum:~/xmr-seeder-py3$ python dns_updater.py all Starting run on: mainnet.test-domain-1221.com Unable to connect to 172.103.156.184:18080 exception is: timed out Unable to connect to 118.163.28.42:18080 exception is: timed out Ignoring: 108.61.228.88:63165 as the port is not: 18080 Ignoring: 5.141.8.17:53341 as the port is not: 18080 Ignoring: 173.230.135.242:18080 as the state is: state_befor_handshake Ignoring: 175.15.164.206:56666 as the port is not: 18080 Ignoring: 45.72.202.235:55540 as the port is not: 18080 Ignoring: 24.114.72.128:59499 as the port is not: 18080 Ignoring: 73.210.108.214:64814 as the port is not: 18080 Ignoring: 188.192.186.47:18080 as the state is: state_befor_handshake Ignoring: 104.193.197.34:63962 as the port is not: 18080 Ignoring: 89.249.130.54:5227 as the port is not: 18080 Ignoring: 104.161.79.67:18080 as the IP is in the current list Ignoring: 168.187.97.30:20716 as the port is not: 18080 Ignoring: 185.181.10.25:18080 as the IP is in the current list Removing DNS entry: f47541b6f90bb6f56189c5f0972733cb for IP 172.103.156.184 Removing DNS entry: 2f17908f90f4dd60ca8fb71797867693 for IP 118.163.28.42 Adding DNS entry for IP 69.164.207.208 Adding DNS entry for IP 47.184.10.204 Adding DNS entry for IP 45.55.60.4 Adding DNS entry for IP 167.114.120.121 Adding DNS entry for IP 139.162.34.138 Adding DNS entry for IP 121.78.158.99 Run complete on: mainnet.test-domain-1221.com new entry count: 16

Current timeout is set to 1 second.

This will maintain a small army of good records, as nodes connect/drop, it verifies them each time.

Merge request reports