I need to forward all of request to local dnsmasq running on 127.0.0.1@5353.
Once I do that, I see all lookup are suffixed with search string as present in /etc/resolv.conf and return server fail. If I do resolve by explicitly putting “.” (dot) at the end, even though I get server fail.
considering below forward-zone configuration, will all of name lookup will be forwarded to open dns servers (208.67.222.222/208.67.220.220) or it will send only those name server which are not part of example.com and example.org
I am able to test 2nd scenario and all resolution will be done by dns server as mentioned in name: “.” (dot). Can some please guide how can we route few zones to specific dns server and rest all to google dns.
However, first one is still a problem, when I am using
I am able to test 2nd scenario and all resolution will be done by dns
server as mentioned in name: "." (dot). Can some please guide how can we
route few zones to specific dns server and rest all to google dns.
The most specific match will be used. So in your example all queries
except example.com, example.org and its subdomains will go to the "."
forward-zone.
However, first one is still a problem, when I am using
Eg: is search string is internal.localhost then All example.com
<http://example.com> name is changing to example.com.internal.localhost.
This is done by the client querying Unbound. Unbound itself does not use
your resolv.conf.
if I put example.com <http://example.com>. (dot at the end) then it
return server fail.
Check your Unbound logs to see why it is a SERVFAIL. My first guess is
that this is because your zone does not DNSSEC validate. In that case
you might want to have a look at the domain-insecure configuration option.