Re: [Pdns-users] PDNS Recursor - force IPv6

2021-11-16 Thread Brian Candler via Pdns-users

On 16/11/2021 08:57, Otto Moerbeek wrote:

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.


Ah yes: sorry I misunderstood the OPs requirement "force usage of 
IPv6".  They wanted something less strong: prioritise IPv6 (if both 
available).


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


Re: [Pdns-users] PDNS Recursor - force IPv6

2021-11-16 Thread Otto Moerbeek via Pdns-users
On Tue, Nov 16, 2021 at 08:53:02AM +, 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: 
> > >  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


Re: [Pdns-users] PDNS Recursor - force IPv6

2021-11-16 Thread Brian Candler via Pdns-users

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: 
 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.
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] PDNS Recursor - force IPv6

2021-11-16 Thread Otto Moerbeek via Pdns-users
On Tue, Nov 16, 2021 at 08:22:30AM +, Marcin Gondek via Pdns-users wrote:

> Hello,
> 
> Is there possible to get similar to unbound command to force usage of IPv6 in 
> PDNS Recursor?
> 
> prefer-ip6: 
> 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.


-Otto

> 
> --
> Marcin Gondek / Drixter
> http://fido.e-utp.net/
> AS56662

> ___
> Pdns-users mailing list
> Pdns-users@mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users

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


[Pdns-users] PDNS Recursor - force IPv6

2021-11-16 Thread Marcin Gondek via Pdns-users
Hello,

Is there possible to get similar to unbound command to force usage of IPv6 in 
PDNS Recursor?

prefer-ip6: 
If enabled, prefer IPv6 transport for sending DNS queries to internet 
nameservers. Default is no.


Thanks,

--
Marcin Gondek / Drixter
http://fido.e-utp.net/
AS56662
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users