[dnsdist] Dynamic reload dnsdist config files

SAMI RAHAL Sami.Rahal at topnetpro.tn
Mon Mar 15 12:27:40 UTC 2021


Thank you remi it's clear,
I have to finalize everything thanks to the help of the community I will use Dnsdist for a large number of clients I will give you my feedback in a few days, Thank you for All







________________________________
De : dnsdist <dnsdist-bounces at mailman.powerdns.com> de la part de dnsdist-request at mailman.powerdns.com <dnsdist-request at mailman.powerdns.com>
Envoyé : lundi 15 mars 2021 13:00
À : dnsdist at mailman.powerdns.com
Objet : dnsdist Digest, Vol 67, Issue 6

Send dnsdist mailing list submissions to
        dnsdist at mailman.powerdns.com

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

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

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


Today's Topics:

   1. dnsdist config reload without restart (SAMI RAHAL)
   2. Dynamic reload dnsdist config files (Cheikh Dieng)
   3. Re: Dynamic reload dnsdist config files (Remi Gacogne)


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

Message: 1
Date: Sun, 14 Mar 2021 19:45:39 +0000
From: SAMI RAHAL <Sami.Rahal at topnetpro.tn>
To: "dnsdist at mailman.powerdns.com" <dnsdist at mailman.powerdns.com>
Subject: [dnsdist] dnsdist config reload without restart
Message-ID: <7a29f1545b53449e92bb4364fc3fb7ff at topnetpro.tn>
Content-Type: text/plain; charset="iso-8859-1"

Hello

I have a few references to files(to block domain names) that is updated dynamically. Is there a way of telling dnsdist to reload it's config without restarting the daemon? and I also ask whether restarting reinitializes the cache or not ?

Regards




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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20210314/ed64b6ee/attachment-0001.htm>

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

Message: 2
Date: Mon, 15 Mar 2021 09:04:44 +0100
From: Cheikh Dieng <tekdieng at gmail.com>
To: dnsdist at mailman.powerdns.com
Subject: [dnsdist] Dynamic reload dnsdist config files
Message-ID:
        <CADCGpEjhcOZ_Xe=1KBNb3JMfwo-EdegwP4R-mfM8je=Cb4zzfQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I'm using dnsdist in docker mode.
I have to add some downstream servers in my running dnsdist docker.
I want to know if there is a way to dynamic reload my conf files  for the
new entries without rebuilding the dnsdist images or do and stop/restart
process

I can use a volume to persist the conf files.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20210315/1a4eac3a/attachment-0001.htm>

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

Message: 3
Date: Mon, 15 Mar 2021 09:12:29 +0100
From: Remi Gacogne <remi.gacogne at powerdns.com>
To: dnsdist at mailman.powerdns.com
Subject: Re: [dnsdist] Dynamic reload dnsdist config files
Message-ID: <a3bf825e-22eb-49fa-ce70-57f0556be3c7 at powerdns.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

On 3/15/21 9:04 AM, Cheikh Dieng via dnsdist wrote:
> I'm using dnsdist in?docker mode.
> I have to add some downstream servers in my running dnsdist docker.
> I want to know if there is a way to dynamic reload my conf?files??for
> the new entries without rebuilding?the dnsdist images or do and
> stop/restart process
>
> I can use a volume to persist the conf files.

Fully reloading the configuration without restarting dnsdist is not
possible, mostly because we made the choice to create some objects at
configuration time and not at runtime for performance reasons.
You can, however, add and remove downstream servers at runtime without
reloading dnsdist by using the console [1].

Hope that helps.

[1]: https://dnsdist.org/guides/console.html

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


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

Subject: Digest Footer

_______________________________________________
dnsdist mailing list
dnsdist at mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


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

End of dnsdist Digest, Vol 67, Issue 6
**************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20210315/20a40f90/attachment.htm>


More information about the dnsdist mailing list