Is it possible to instruct the configured DNS resolver to query a specific DNS server for DNS records?

The environment only allows DNS requests to a specific IPv4 (the DNS resolver) - other UDP/53 packets get dropped.

I haven't registered any domain name for my DNS server, so I would like to specify it by IPv4 address.

Is this possible?


1 Answer 1


Yes, but it depends on the software running on the resolver.

Many caching resolvers (Unbound, dnsmasq, BIND 9) do support this feature; often under two different names ('forward zones' point to the next resolver, and 'stub zones' point to an authoritative server, but the former seems to work in any case).

For example, Unbound's (partial) configuration would look like:

    name: "dn42."

    name: "20.72.in-addr.arpa."

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.