Fix a BAT dns value error: the nameserver should come from env.dns_host
rather than env.director