[Pdns-users] [dnsdist] Dnsdist not reading from the cache

SAMI RAHAL Sami.Rahal at topnetpro.tn
Fri Sep 9 16:22:26 UTC 2022


hi abang


yes i just changed the values in the email
for privacy reasons but it's the same value in the config file



________________________________
De : Pdns-users <pdns-users-bounces at mailman.powerdns.com> de la part de pdns-users-request at mailman.powerdns.com <pdns-users-request at mailman.powerdns.com>
Envoyé : vendredi 9 septembre 2022 18:14
À : pdns-users at mailman.powerdns.com
Objet : [EXTERNE]Pdns-users Digest, Vol 236, Issue 6

ATTENTION:Cet e-mail provient d'une personne externe à TOPNET. Ne pas cliquer sur des liens ou ouvrir des pièces jointes à moins que vous êtes absolument sûr de l'origine de l'e-mail.
'

Send Pdns-users mailing list submissions to
        pdns-users at mailman.powerdns.com

To subscribe or unsubscribe via the World Wide Web, visit
        https://mailman.powerdns.com/mailman/listinfo/pdns-users
or, via email, send a message with subject or body 'help' to
        pdns-users-request at mailman.powerdns.com

You can reach the person managing the list at
        pdns-users-owner at mailman.powerdns.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pdns-users digest..."


Today's Topics:

   1. Re: [dnsdist] Dnsdist not reading from the cache (SAMI RAHAL)
   2. Re: [dnsdist] Dnsdist not reading from the cache
      (abang at t-ipnet.net)


----------------------------------------------------------------------

Message: 1
Date: Fri, 9 Sep 2022 15:38:10 +0000
From: SAMI RAHAL <Sami.Rahal at topnetpro.tn>
To: "pdns-users at mailman.powerdns.com"
        <pdns-users at mailman.powerdns.com>
Subject: Re: [Pdns-users] [dnsdist] Dnsdist not reading from the cache
Message-ID: <2360d48a89bc455e9cc45bfe7b3bd4db at topnetpro.tn>
Content-Type: text/plain; charset="iso-8859-1"

Hi Remi

The server is in production it receives requests as shown in this summary

Uptime: 17 days, Number of queries: 2326402346 (2385.00 qps), ACL drops: 0, Dynamic drops: 27076173, Rule drops: 6451838
Average response time: 9.40 ms, CPU Usage: 26.50%, Cache hitrate: 85.37%, Server selection policy: leastOutstanding
Listening on: 0.0.0.0:53, ACL: 0.0.0.0/0


thanks Rahal





Cordialement, Sami Rahal Service Hosting DNS et Cloud Direction Technique & SI Si?ge Social TOPNET, Centre Urbain Nord T?l. :71185000 GSM :99 459 812


________________________________
De : Pdns-users <pdns-users-bounces at mailman.powerdns.com> de la part de pdns-users-request at mailman.powerdns.com <pdns-users-request at mailman.powerdns.com>
Envoy? : vendredi 9 septembre 2022 14:00
? : pdns-users at mailman.powerdns.com
Objet : [EXTERNE]Pdns-users Digest, Vol 236, Issue 5

ATTENTION:Cet e-mail provient d'une personne externe ? TOPNET. Ne pas cliquer sur des liens ou ouvrir des pi?ces jointes ? moins que vous ?tes absolument s?r de l'origine de l'e-mail.
'

Send Pdns-users mailing list submissions to
        pdns-users at mailman.powerdns.com

To subscribe or unsubscribe via the World Wide Web, visit
        https://mailman.powerdns.com/mailman/listinfo/pdns-users
or, via email, send a message with subject or body 'help' to
        pdns-users-request at mailman.powerdns.com

You can reach the person managing the list at
        pdns-users-owner at mailman.powerdns.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pdns-users digest..."


Today's Topics:

   1. Re: [dnsdist] Dnsdist not reading from the cache (Remi Gacogne)
   2. Re: [EXTERNE]Re: [dnsdist] Dnsdist not reading from the cache
      (SAMI RAHAL)
   3. Re: [EXT] RE: [EXTERNE]Re: [dnsdist] Dnsdist not reading from
      the cache (Remi Gacogne)


----------------------------------------------------------------------

Message: 1
Date: Fri, 9 Sep 2022 09:24:57 +0200
From: Remi Gacogne <remi.gacogne at powerdns.com>
To: SAMI RAHAL <Sami.Rahal at topnetpro.tn>,
        "pdns-users at mailman.powerdns.com" <pdns-users at mailman.powerdns.com>
Subject: Re: [Pdns-users] [dnsdist] Dnsdist not reading from the cache
Message-ID: <00726a29-c73a-59e0-c901-a9109f114396 at powerdns.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi,

On 07/09/2022 14:02, SAMI RAHAL via Pdns-users wrote:
> for those running dnsdist I'm wondering is anyone has set up cache.
>
> If you have, I'd appreciate pointers in your strategies (and/or some
> examples?).

A lot of installations are using caching in dnsdist, yes. I don't see
anything immediately wrong after looking at your configuration. What
makes you think caching is not working?

--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220909/f888398c/attachment-0001.sig>

------------------------------

Message: 2
Date: Fri, 9 Sep 2022 09:34:19 +0000
From: SAMI RAHAL <Sami.Rahal at topnetpro.tn>
To: Remi Gacogne <remi.gacogne at powerdns.com>,
        "pdns-users at mailman.powerdns.com" <pdns-users at mailman.powerdns.com>
Subject: Re: [Pdns-users] [EXTERNE]Re: [dnsdist] Dnsdist not reading
        from the cache
Message-ID: <5a536fb77d7a42039c9e5009341df52e at topnetpro.tn>
Content-Type: text/plain; charset="iso-8859-1"

Hi Remi

Thank you for your answer
I test the cache as follows:
getPool("resolverTopnet"):getCache():printStats()

I get empty values:

Entries: 0/2000000
Hits: 0
Misses: 0
Deferred inserts: 0
Deferred lookups: 0
Lookup Collisions: 0
Insert Collisions: 0
TTL Too Shorts: 0

before updating dnsdist from 1.5 to 1.7 i can see the values

Thanks a lot










________________________________
De : Remi Gacogne <remi.gacogne at powerdns.com>
Envoy? : vendredi 9 septembre 2022 09:24
? : SAMI RAHAL; pdns-users at mailman.powerdns.com
Objet : [EXTERNE]Re: [Pdns-users] [dnsdist] Dnsdist not reading from the cache

Hi,

On 07/09/2022 14:02, SAMI RAHAL via Pdns-users wrote:
> for those running dnsdist I'm wondering is anyone has set up cache.
>
> If you have, I'd appreciate pointers in your strategies (and/or some
> examples?).

A lot of installations are using caching in dnsdist, yes. I don't see
anything immediately wrong after looking at your configuration. What
makes you think caching is not working?

--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220909/2dea0688/attachment-0001.htm>

------------------------------

Message: 3
Date: Fri, 9 Sep 2022 11:37:51 +0200
From: Remi Gacogne <remi.gacogne at powerdns.com>
To: "pdns-users at mailman.powerdns.com"
        <pdns-users at mailman.powerdns.com>
Subject: Re: [Pdns-users] [EXT] RE: [EXTERNE]Re: [dnsdist] Dnsdist not
        reading from the cache
Message-ID: <caed01f5-6771-3828-b323-3bcc4f7e1c46 at powerdns.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 09/09/2022 11:34, SAMI RAHAL wrote:

> Thank you for your answer I test the cache as follows:
> getPool("resolverTopnet"):getCache():printStats()
>
> I get empty values:
>
> Entries: 0/2000000
> Hits: 0
> Misses: 0
> Deferred inserts: 0
> Deferred lookups: 0
> Lookup Collisions: 0
> Insert Collisions: 0
> TTL Too Shorts: 0
>
> before updating dnsdist from 1.5 to 1.7 i can see the values

But how are you testing exactly? How are you sending the DNS queries
during your test?

--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220909/38552f8b/attachment-0001.sig>

------------------------------

Subject: Digest Footer

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


------------------------------

End of Pdns-users Digest, Vol 236, Issue 5
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220909/5a05fbed/attachment-0001.htm>

------------------------------

Message: 2
Date: Fri, 09 Sep 2022 18:14:02 +0200
From: abang at t-ipnet.net
To: SAMI RAHAL via Pdns-users <pdns-users at mailman.powerdns.com>,
        "pdns-users at mailman.powerdns.com" <pdns-users at mailman.powerdns.com>
Subject: Re: [Pdns-users] [dnsdist] Dnsdist not reading from the cache
Message-ID: <AA4AB0E2-67B4-471D-B343-2FA7571F5E12 at t-ipnet.net>
Content-Type: text/plain; charset="utf-8"

> getPool("resolverTopnet"):getCache():printStats()

In one of your previous mails the pool name was "resolver".

Am 9. September 2022 17:38:10 MESZ schrieb SAMI RAHAL via Pdns-users <pdns-users at mailman.powerdns.com>:
>Hi Remi
>
>The server is in production it receives requests as shown in this summary
>
>Uptime: 17 days, Number of queries: 2326402346 (2385.00 qps), ACL drops: 0, Dynamic drops: 27076173, Rule drops: 6451838
>Average response time: 9.40 ms, CPU Usage: 26.50%, Cache hitrate: 85.37%, Server selection policy: leastOutstanding
>Listening on: 0.0.0.0:53, ACL: 0.0.0.0/0
>
>
>thanks Rahal
>
>
>
>
>
>Cordialement, Sami Rahal Service Hosting DNS et Cloud Direction Technique & SI Si?ge Social TOPNET, Centre Urbain Nord T?l. :71185000 GSM :99 459 812
>
>
>________________________________
>De : Pdns-users <pdns-users-bounces at mailman.powerdns.com> de la part de pdns-users-request at mailman.powerdns.com <pdns-users-request at mailman.powerdns.com>
>Envoy? : vendredi 9 septembre 2022 14:00
>? : pdns-users at mailman.powerdns.com
>Objet : [EXTERNE]Pdns-users Digest, Vol 236, Issue 5
>
>ATTENTION:Cet e-mail provient d'une personne externe ? TOPNET. Ne pas cliquer sur des liens ou ouvrir des pi?ces jointes ? moins que vous ?tes absolument s?r de l'origine de l'e-mail.
>'
>
>Send Pdns-users mailing list submissions to
>        pdns-users at mailman.powerdns.com
>
>To subscribe or unsubscribe via the World Wide Web, visit
>        https://mailman.powerdns.com/mailman/listinfo/pdns-users
>or, via email, send a message with subject or body 'help' to
>        pdns-users-request at mailman.powerdns.com
>
>You can reach the person managing the list at
>        pdns-users-owner at mailman.powerdns.com
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Pdns-users digest..."
>
>
>Today's Topics:
>
>   1. Re: [dnsdist] Dnsdist not reading from the cache (Remi Gacogne)
>   2. Re: [EXTERNE]Re: [dnsdist] Dnsdist not reading from the cache
>      (SAMI RAHAL)
>   3. Re: [EXT] RE: [EXTERNE]Re: [dnsdist] Dnsdist not reading from
>      the cache (Remi Gacogne)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 9 Sep 2022 09:24:57 +0200
>From: Remi Gacogne <remi.gacogne at powerdns.com>
>To: SAMI RAHAL <Sami.Rahal at topnetpro.tn>,
>        "pdns-users at mailman.powerdns.com" <pdns-users at mailman.powerdns.com>
>Subject: Re: [Pdns-users] [dnsdist] Dnsdist not reading from the cache
>Message-ID: <00726a29-c73a-59e0-c901-a9109f114396 at powerdns.com>
>Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
>Hi,
>
>On 07/09/2022 14:02, SAMI RAHAL via Pdns-users wrote:
>> for those running dnsdist I'm wondering is anyone has set up cache.
>>
>> If you have, I'd appreciate pointers in your strategies (and/or some
>> examples?).
>
>A lot of installations are using caching in dnsdist, yes. I don't see
>anything immediately wrong after looking at your configuration. What
>makes you think caching is not working?
>
>--
>Remi Gacogne
>PowerDNS.COM BV - https://www.powerdns.com/
>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: OpenPGP_signature
>Type: application/pgp-signature
>Size: 488 bytes
>Desc: OpenPGP digital signature
>URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220909/f888398c/attachment-0001.sig>
>
>------------------------------
>
>Message: 2
>Date: Fri, 9 Sep 2022 09:34:19 +0000
>From: SAMI RAHAL <Sami.Rahal at topnetpro.tn>
>To: Remi Gacogne <remi.gacogne at powerdns.com>,
>        "pdns-users at mailman.powerdns.com" <pdns-users at mailman.powerdns.com>
>Subject: Re: [Pdns-users] [EXTERNE]Re: [dnsdist] Dnsdist not reading
>        from the cache
>Message-ID: <5a536fb77d7a42039c9e5009341df52e at topnetpro.tn>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi Remi
>
>Thank you for your answer
>I test the cache as follows:
>getPool("resolverTopnet"):getCache():printStats()
>
>I get empty values:
>
>Entries: 0/2000000
>Hits: 0
>Misses: 0
>Deferred inserts: 0
>Deferred lookups: 0
>Lookup Collisions: 0
>Insert Collisions: 0
>TTL Too Shorts: 0
>
>before updating dnsdist from 1.5 to 1.7 i can see the values
>
>Thanks a lot
>
>
>
>
>
>
>
>
>
>
>________________________________
>De : Remi Gacogne <remi.gacogne at powerdns.com>
>Envoy? : vendredi 9 septembre 2022 09:24
>? : SAMI RAHAL; pdns-users at mailman.powerdns.com
>Objet : [EXTERNE]Re: [Pdns-users] [dnsdist] Dnsdist not reading from the cache
>
>Hi,
>
>On 07/09/2022 14:02, SAMI RAHAL via Pdns-users wrote:
>> for those running dnsdist I'm wondering is anyone has set up cache.
>>
>> If you have, I'd appreciate pointers in your strategies (and/or some
>> examples?).
>
>A lot of installations are using caching in dnsdist, yes. I don't see
>anything immediately wrong after looking at your configuration. What
>makes you think caching is not working?
>
>--
>Remi Gacogne
>PowerDNS.COM BV - https://www.powerdns.com/
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220909/2dea0688/attachment-0001.htm>
>
>------------------------------
>
>Message: 3
>Date: Fri, 9 Sep 2022 11:37:51 +0200
>From: Remi Gacogne <remi.gacogne at powerdns.com>
>To: "pdns-users at mailman.powerdns.com"
>        <pdns-users at mailman.powerdns.com>
>Subject: Re: [Pdns-users] [EXT] RE: [EXTERNE]Re: [dnsdist] Dnsdist not
>        reading from the cache
>Message-ID: <caed01f5-6771-3828-b323-3bcc4f7e1c46 at powerdns.com>
>Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
>On 09/09/2022 11:34, SAMI RAHAL wrote:
>
>> Thank you for your answer I test the cache as follows:
>> getPool("resolverTopnet"):getCache():printStats()
>>
>> I get empty values:
>>
>> Entries: 0/2000000
>> Hits: 0
>> Misses: 0
>> Deferred inserts: 0
>> Deferred lookups: 0
>> Lookup Collisions: 0
>> Insert Collisions: 0
>> TTL Too Shorts: 0
>>
>> before updating dnsdist from 1.5 to 1.7 i can see the values
>
>But how are you testing exactly? How are you sending the DNS queries
>during your test?
>
>--
>Remi Gacogne
>PowerDNS.COM BV - https://www.powerdns.com/
>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: OpenPGP_signature
>Type: application/pgp-signature
>Size: 488 bytes
>Desc: OpenPGP digital signature
>URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220909/38552f8b/attachment-0001.sig>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>Pdns-users mailing list
>Pdns-users at mailman.powerdns.com
>https://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>
>------------------------------
>
>End of Pdns-users Digest, Vol 236, Issue 5
>******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220909/92c5c2f7/attachment.htm>

------------------------------

Subject: Digest Footer

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


------------------------------

End of Pdns-users Digest, Vol 236, Issue 6
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220909/f9d08622/attachment-0001.htm>


More information about the Pdns-users mailing list