Re: [dnsdist] Client query id in the dq-object?

2022-11-02 Thread Tom via dnsdist

Hi list

A few months ago, I've asked the question below and wasn't able to find 
a solution in the meantime. Does someone has a hint, how to achieve this?


Many thanks in advance.
Tom


On 7/28/22 11:17, Tom wrote:

Hi

Using dnsdist-1.7.2, I'm trying to get the query id from the 
client-query, but I can't find the matching parameter in the dq-object.
My goal is to find a specific query-id (ex. ) and then use this 
(same) specific query-id also for the outbound query from dnsdist to the 
backend server.


Any hints how to achieve this?

Many thanks.
Tom

___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


Re: [dnsdist] Backend Questions

2022-11-02 Thread Klaus Darilion via dnsdist


> > Shouldn't newServer(...healthCheckMode='UP') also work? In my case it
> does not work.
> > I have set healthCheckMode='UP' but:
> > showServers show status as "up" whereas after setUp() the status is "UP".
> And it still does helathchecks and status goes "down" if the backend is down.
> >
> > What is wrong? The docs? Am I misinterpreting the docs? Bug?
> 
> Which version are yor running? healthCheckMode wil only be available
> in 1.8.0, which is not released yet. See
> https://dnsdist.org/reference/config.html?highlight=newserver#newServer

Oh I missed that comment about changes in 1.8.

Thanks
Klaus
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


Re: [dnsdist] Backend Questions

2022-11-02 Thread Otto Moerbeek via dnsdist
On Wed, Nov 02, 2022 at 01:38:10PM +0100, Klaus Darilion via dnsdist wrote:

> (resent to the list)
> 
> Hi Remi!
> 
> > On 07/10/2022 10:53, Klaus Darilion via dnsdist wrote:
> > 
> > > We use dnsdist with 1 single backend server (PDNS). So if this backend
> > > is overloaded, dnsdist will detect the backend as DOWN. Hence, the only
> > > server for this backend pool down. How will dnsdist behave if all
> > > servers for a backend pool are down? Will it stop senden queries to the
> > > backend, or will it still send queries to the DOWN server as there is no
> > > UP server available?
> > 
> > All of the built-in load balancing policies will stop forwarding queries
> > when all the servers in the selected pool are down. It would be possible
> > to write a custom load-balancing in Lua that does not do that, of
> > course, but I don't think that's what you want in that case.
> > 
> > > So it may be useful to disable healthchecks completely. How can this be
> > > done?
> > 
> > You can force a server in the "up" state using the 'setUp()' method, see
> > [1].
> 
> Shouldn't newServer(...healthCheckMode='UP') also work? In my case it does 
> not work. 
> I have set healthCheckMode='UP' but:
> showServers show status as "up" whereas after setUp() the status is "UP". And 
> it still does helathchecks and status goes "down" if the backend is down.
> 
> What is wrong? The docs? Am I misinterpreting the docs? Bug?

Which version are yor running? healthCheckMode wil only be available
in 1.8.0, which is not released yet. See 
https://dnsdist.org/reference/config.html?highlight=newserver#newServer

-Otto
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


Re: [dnsdist] Backend Questions

2022-11-02 Thread Klaus Darilion via dnsdist
(resent to the list)

Hi Remi!

> On 07/10/2022 10:53, Klaus Darilion via dnsdist wrote:
> 
> > We use dnsdist with 1 single backend server (PDNS). So if this backend
> > is overloaded, dnsdist will detect the backend as DOWN. Hence, the only
> > server for this backend pool down. How will dnsdist behave if all
> > servers for a backend pool are down? Will it stop senden queries to the
> > backend, or will it still send queries to the DOWN server as there is no
> > UP server available?
> 
> All of the built-in load balancing policies will stop forwarding queries
> when all the servers in the selected pool are down. It would be possible
> to write a custom load-balancing in Lua that does not do that, of
> course, but I don't think that's what you want in that case.
> 
> > So it may be useful to disable healthchecks completely. How can this be
> > done?
> 
> You can force a server in the "up" state using the 'setUp()' method, see
> [1].

Shouldn't newServer(...healthCheckMode='UP') also work? In my case it does not 
work. 
I have set healthCheckMode='UP' but:
showServers show status as "up" whereas after setUp() the status is "UP". And 
it still does helathchecks and status goes "down" if the backend is down.

What is wrong? The docs? Am I misinterpreting the docs? Bug?

Thanks
Klaus
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


[dnsdist] dnsdist 1.7.3 released

2022-11-02 Thread Peter van Dijk via dnsdist
Hello!

We are very happy to release dnsdist 1.7.3 today, a maintenance release
with no functional changes.

This release strictly serves to bring dnsdist packages to our EL9 and
Ubuntu Jammy repositories, and upgrades the dnsdist Docker image from
Debian buster to Debian bullseye, as buster is officially EOL.

Please see the dnsdist [1]website for the more complete [2]changelog
and the current documentation.

Please send us all feedback and issues you might have via the
[3]mailing list, or in case of a bug, via [4]GitHub.

We are grateful to the PowerDNS community for the reporting of bugs,
issues, feature requests, and especially to the submitters of fixes and
implementations of features.

The release [5]tarball and its [6]signature are available on the
downloads website, and packages for several distributions are available
from our [7]repository.

References

1. https://dnsdist.org/
2. https://dnsdist.org/changelog.html#change-1.7.3
3. https://mailman.powerdns.com/mailman/listinfo/dnsdist
4. https://github.com/PowerDNS/pdns/issues/new/choose
5. https://downloads.powerdns.com/releases/dnsdist-1.7.3.tar.bz2
6. https://downloads.powerdns.com/releases/dnsdist-1.7.3.tar.bz2.sig
7. https://repo.powerdns.com/

Kind regards,
-- 
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/


signature.asc
Description: This is a digitally signed message part
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist