adns-python port to python3