The variable dns_entry actually denotes a DNS suffix, please refactor variable to "dns_suffix" or something like that.