Update testDNSxfer.py

script clean up. wrap xfer logic into a function. allow user to enter only a name and append TLDs to name, creating fqdn.