Changed ands python for dnspython