Intial version with dnspython