start of update_dns()