On Tue, Nov 16, 2021 at 08:53:02AM +0000, Brian Candler wrote:

> On 16/11/2021 08:29, Otto Moerbeek via Pdns-users wrote:
> > > Is there possible to get similar to unbound command to force usage of 
> > > IPv6 in PDNS Recursor?
> > > 
> > > prefer-ip6: <yes or no>
> > >      If enabled, prefer IPv6 transport for sending DNS queries to 
> > > internet nameservers. Default is no.
> > > 
> > > 
> > > Thanks,
> > No, we do not have an equivalent option.
> > 
> > pdsn_recursor will use both protocols and figure out what works best
> > per domain and nameserver.  Periodically it wil keep trying
> > alternatives to see if the situation changed.
> 
> What happens if you set
> 
> query-local-address=::
> 
> or
> 
> query-local-address=yo:ur:ip:v6::addr:ess ?
> 
> I note that the default is "query-local-address=0.0.0.0" and this only sends
> outbound queries on IPv4.
> 
> I set "query-local-address=0.0.0.0,::" to allow the recursor to use both.

I think since 4.5 we do the right thing and *only* use v6 if you set 
query-local-address=::
But that has the consequence that a lot of (v4 only) nameservers become 
unreachable.

        -Otto
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to