CNAMEs not going through view

Jan Palus jpalus+unbound at fastmail.com
Mon Dec 20 19:02:46 UTC 2021


Hi,

I have an unbound instance that serves as DNS for small local network
(let's assume it's example.com domain). One of the servers (let's call
it server) is accessed by either IPLAN or by IPVPN depending on what's
the source of a query. The IP is changed with view for
server.example.com however other CNAMEs in zone file do not seem to go
through that view. So ie if I have an "alias IN CNAME server", then
alias.example.com resolves to IPLAN despite query coming from VPN. Is
there a way to make CNAMEs resolutions go through view as well?

Regards
Jan


More information about the Unbound-users mailing list