Single DNS record and Wilcard DNS with DNS Resolver (Unbound)
-
I'm trying to get a combination of a wildcard DNS record and a single DNS record to work but instead nothing resolves anymore.
For example I want to accomplish this:host1.example.com > 192.168.35.4
*.example.com > 192.168.35.10So all DNS requests to example.com that doesn't match host1 needs to go to 192.168.35.10.
I got this to work on DNS Forwarder but not with DNS Resolver.What I have tried:
local-zone: "example.com" redirect local-data: "example.com 3600 IN A 192.168.35.10"
The code above works.
Adding then a single DNS record: host1.example.com in DNS overrides results in a non resolving DNS server.
Somebody has an idea? Do I miss something?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.