add code to check if DNS host entry exists