Hi Remi
can I use version 1.6 in production?
________________________________________
De : dnsdist <dnsdist-boun...@mailman.powerdns.com> de la part de
dnsdist-requ...@mailman.powerdns.com <dnsdist-requ...@mailman.powerdns.com>
Envoyé : samedi 6 février 2021 13:00
À : dnsdist@mailman.powerdns.com
Objet : dnsdist Digest, Vol 66, Issue 7
Send dnsdist mailing list submissions to
dnsdist@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-requ...@mailman.powerdns.com
You can reach the person managing the list at
dnsdist-ow...@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. Re: cache dnsdist not working for my setup (SAMI RAHAL)
2. Re: cache dnsdist not working for my setup (Remi Gacogne)
3. Re: DNS views using DNSDIST (Jahanzeb Arshad)
----------------------------------------------------------------------
Message: 1
Date: Fri, 5 Feb 2021 18:12:55 +0000
From: SAMI RAHAL <sami.ra...@topnetpro.tn>
To: "dnsdist@mailman.powerdns.com" <dnsdist@mailman.powerdns.com>
Subject: Re: [dnsdist] cache dnsdist not working for my setup
Message-ID: <1612548806918.29...@topnetpro.tn>
Content-Type: text/plain; charset="iso-8859-1"
Hi Jacob
i use tcpdump :
tcpdump -vvv -s O -l -n port 53 | grep domaine.tld
Always dnsdist contact my two backend resolvers
________________________________________
De : dnsdist <dnsdist-boun...@mailman.powerdns.com> de la part de
dnsdist-requ...@mailman.powerdns.com <dnsdist-requ...@mailman.powerdns.com>
Envoy? : vendredi 5 f?vrier 2021 13:00
? : dnsdist@mailman.powerdns.com
Objet : dnsdist Digest, Vol 66, Issue 6
Send dnsdist mailing list submissions to
dnsdist@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-requ...@mailman.powerdns.com
You can reach the person managing the list at
dnsdist-ow...@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. cache dnsdist not working for my setup (SAMI RAHAL)
2. Re: cache dnsdist not working for my setup (Jacob Bunk Nielsen)
----------------------------------------------------------------------
Message: 1
Date: Fri, 5 Feb 2021 08:59:33 +0000
From: SAMI RAHAL <sami.ra...@topnetpro.tn>
To: "dnsdist@mailman.powerdns.com" <dnsdist@mailman.powerdns.com>
Subject: [dnsdist] cache dnsdist not working for my setup
Message-ID: <1612515606492.42...@topnetpro.tn>
Content-Type: text/plain; charset="iso-8859-1"
Hello
dnsdist packet cache is not working form my setup
* Operating system: CentOS7 (x86_64)
* Software version: dnsdist 1.3.0
My setup:
----------- config cache -------------------
cacheresolv = newPacketCache(100000, 86400, 0, 60, 60, true)
getPool("resolverT"):setCache(cacheresolv)
setStaleCacheEntriesTTL(86400)
addAction(AllRule(), PoolAction("resolverT"))
Can somebody help me please
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/20210205/44929ca9/attachment-0001.htm>
------------------------------
Message: 2
Date: Fri, 5 Feb 2021 10:30:49 +0100
From: Jacob Bunk Nielsen <j...@one.com>
To: dnsdist@mailman.powerdns.com
Subject: Re: [dnsdist] cache dnsdist not working for my setup
Message-ID: <db7e8b20-f15f-934f-09ce-0cbae3068...@one.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Sami
On 05/02/2021 09.59, SAMI RAHAL via dnsdist wrote:
>
> dnsdist packet cache is not working form my setup
>
How do you know that it's not working?
Best regards,
Jacob
------------------------------
Subject: Digest Footer
_______________________________________________
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist
------------------------------
End of dnsdist Digest, Vol 66, Issue 6
**************************************
------------------------------
Message: 2
Date: Fri, 5 Feb 2021 20:00:30 +0100
From: Remi Gacogne <remi.gaco...@powerdns.com>
To: "dnsdist@mailman.powerdns.com" <dnsdist@mailman.powerdns.com>
Subject: Re: [dnsdist] cache dnsdist not working for my setup
Message-ID: <094e68eb-694b-6505-726c-de0a0992f...@powerdns.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi Sami,
On 2/5/21 7:12 PM, SAMI RAHAL via dnsdist wrote:
> Hi Jacob
> i use tcpdump :
> tcpdump -vvv -s O -l -n port 53 | grep domaine.tld
> Always dnsdist contact my two backend resolvers
How are you sending the queries? If you are using dig, please check with
+nocookie since the content of EDNS cookie is busting dnsdist's packet
cache. 1.6.0 will ignore these cookies but you are running 1.3.0 which
is a bit old.
Best regards,
--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/
------------------------------
Message: 3
Date: Sat, 06 Feb 2021 13:44:56 +0500
From: Jahanzeb Arshad <jahan...@nayatel.com>
To: dnsdist mailing list <dnsdist@mailman.powerdns.com>
Subject: Re: [dnsdist] DNS views using DNSDIST
Message-ID:
<5ca871b535a54b679168591df76fc14f3a10deab.ca...@nayatel.com>
Content-Type: text/plain; charset="utf-8"
Hi,
Thanks for your input. I tried the EDNS method but it doesnt seem to be
working for me. It also had a side effect of reducing the caching
performance of dnsdist from 80% to 20%, and also slightly increased the
CPU usage.
Tried the following method of replying with the SpoofAction. This seems
to be working in test environment. Am going to put it into production
and test.
match_clients_network = newNMG()
match_clients_network:addMask("192.168.122.1/32")
addAction(AndRule({NetmaskGroupRule(match_clients_network),
QNameRule('my.domain.com.'), QTypeRule(DNSQType.A)}),
SpoofAction("192.168.48.10"))
Regards
Jahanzeb
On Wed, 2021-01-27 at 10:33 +0100, frank+p...@tembo.be wrote:
> Hi,
>
> You would have a few options to do that.
>
> I wrote a blogpost about implementing BIND views using dnsdist and
> two instances of powerdns-auth.
> See?https://www.frank.be/implementing-bind-views-with-powerdns/ for
> details.
>
> If you want to keep a single BIND as a backend, you could investigate
> EDNS client subnet support.
>
> There are other options, but the two above would my preferred way...
>
> Kind Regards,
>
> Frank
>
>
> > On 27 Jan 2021, at 10:23, Jahanzeb Arshad via dnsdist
> > <dnsdist@mailman.powerdns.com> wrote:
> >
> > Greetings,
> >
> > We have been using BIND DNS server with views to return different A
> > records for different source networks. Now we have put DNSDIST as
> > frontend to the BIND DNS servers. Now BIND DNS is seeing the
> > dnsdist as the client IP and the views are no more valid. We are
> > unable to figure out how we can we create same type of views on the
> > dnsdist application. Any help would be appreciated.?
> >
> > For example following different A records to be returned for
> > different client IPs for a specific application/domain name.
> >
> > web.domain.com -> 192.168.10.10 for client IPs 10.10.10.0/24
> > web.domain.com -> 192.168.20.20 for client IPs 10.10.20.0/24
> >
> > Regards
> >
> > Jahanzeb
> > _______________________________________________
> > dnsdist mailing list
> > dnsdist@mailman.powerdns.com
> > https://mailman.powerdns.com/mailman/listinfo/dnsdist
>
> Frank Louwers
> PowerDNS Certified Consultant @ Kiwazo.be
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mailman.powerdns.com/pipermail/dnsdist/attachments/20210206/f6768493/attachment-0001.htm>
------------------------------
Subject: Digest Footer
_______________________________________________
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist
------------------------------
End of dnsdist Digest, Vol 66, Issue 7
**************************************
_______________________________________________
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist