host1.localdomain.tld.localdomain.tld
google.com.localdoman.tld
forward-zone: name: "." forward-tls-upstream: yes forward-addr: x.y.z.a@853#dnsserver.domain.tld
hijust add closing "." when checking via nslookup )
local-server1.domain.tld.domain.tldwww.googleapis.com.domain.tld
so that requests to addresses for these domains are not forwarded imho you need to make local-zones with the "static" type for this domains (looks like there is no gui param for making this for domains from DHCP "domain search list" option. for System Domain it generates local-zone with "local zone type" from unbound general settings. ie at least for the system domain, you can set the zone type to 'static' in Services: Unbound DNS: General)
local-zone: "domain.tld" staticlocal-zone: "otherdomain.tld" staticlocal-zone: "use-application-dns.net" always_nxdomain
googleapis.com.domain.tld
local-zone: "github.com" static
local-zone: "internal.my-domain.tld" staticlocal-zone: "dmz.my-domain.tld" static
server1.dmz.my-domain.tld.internal.my-domain.tldserver1.internal.my-domain.tld.my-domain.tldserver1.internal.my-domain.tld.dmz.my-domain.tldgoogle.com.my-domain.tld
server1.internal.my-domain.tld.my-domain.tld
can you please check again what kind of requests the unbound forwards exactly?for example, the request forCode: [Select]server1.internal.my-domain.tld.my-domain.tldshould be forwarded. unbound does not own "tld.my-domain.tld" zone
real hostname: accesspoint1.internal.my-domain.tlddns request on public resolver: accesspoint1.internal.my-domain.tld.my-domain.tld
a more radical way is also possible if there are few records for the domain on the external servers. in this case, you can take the entire "my-domain.tld" domain to static local-zone and add the required records to the host override