On 09/06/2023 17:26, Alessandro Vesely wrote:

Hi Alessandro,

Hi,

I have two WANs.  As a leftover from the times when I had no IPv6 address, I was running named with -4 option.  I just removed it a couple of minutes ago. However, I still have IPv4 precedence in gai.conf:
precedence  ::1/128               50     0
precedence  ::/0                  40     1
precedence  2002::/16             30     2
precedence  ::/96                 20     3
precedence  ::ffff:0:0/96        100     4

If you want your applications to prefer IPv6, then just remove this file. The default is to prefer IPv6.

[snip]

Having two WANs, it would be reasonable, in case one doesn't work, to try the other one.  However, it's always useless to try the LAN.  Is there any way to configure which interface is used for outgoing queries?

You can configure "query-source" and "query-source-v6" in named.conf, to tell BIND which interface to use for outgoing queries.

Regards,
Anand
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to