Fixed KeyError bug in mod_dns_server