OPNsense Forum

English Forums => General Discussion => Topic started by: Mks on February 20, 2022, 04:18:42 PM

Title: Unbound listen on VirtualIP
Post by: Mks on February 20, 2022, 04:18:42 PM
Dear all,

is it possible to configure Unbound to list on an Virtual IP? I can't configure this, the VirtualIP is not shown in the list.

br
Title: Re: Unbound listen on VirtualIP
Post by: franco on February 20, 2022, 05:22:53 PM
The standard is for VIPS to be automatically attach to the interface selection in Unbound except when you set the VIPs to disallow binding in its options. I assume the latter is the issue.


Cheers,
Franco
Title: Re: Unbound listen on VirtualIP
Post by: Mks on March 13, 2022, 05:44:16 PM
Hi, "Allow service binding" is activated, nonetheless the VIP is not available in the interface selection in DNS (Unbound).

Within NTP for example the interface is available.

Maybe a bug?

br

Title: Re: Unbound listen on VirtualIP
Post by: franco on March 14, 2022, 02:34:22 PM
> Maybe a bug?

It's intentional. The old code still tries to hardcode vips but that fails when you remove them.. so the newer code (Unbound, OpenSSL, Web GUI, Dnsmasq) tries to bind to VIPs automatically as they are configured in the system.


Cheers,
Franco