[dnsdist] downstream flapping down/up

abang abang at t-ipnet.net
Fri May 12 06:53:25 UTC 2017


> The recursor service isn't down and if i run the below type command, i 
> recieve no failures.
> $ while true; do dig @10.225.12.19 google.com +short; done
Since dig does 3 tries this way, you will likely not notice short outages.

Try

dig +tries=1 +time=1


Winfried



Am 12.05.2017 um 06:32 schrieb scott McGillivray:
> Hi
> I have dnsdist in front of pdns with this config:
> # start_dnsdist.conf
> local public_ipaddr = "x.x.x.x"
> local rec_ipaddr = "10.200.1.19"
> local hostname = "dns01"
> setLocal(public_ipaddr .. ":53", true, true)
> setACL({"0.0.0.0/0", "::/0"})
> setECSOverride(true)
> setECSSourcePrefixV4(32)
> setECSSourcePrefixV6(128)
> newServer{address=rec_ipaddr, source="eth0", 
> name=hostname.."-recursor", order=1, checkName="google.com.", 
> pool="recursive", useClientSubnet=true}
> setServerPolicy(firstAvailable)
> # end_dnsdist.conf
> For some reason my dnsdist log is flooded with these entries.
> May 11 15:30:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:30:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:32:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:32:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:33:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:33:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:35:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:35:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:36:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:36:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:38:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:38:34 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:40:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:40:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:43:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:43:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:44:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:44:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:45:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:45:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:46:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:46:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:47:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:47:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:48:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:48:34 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:53:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> May 11 15:53:33 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'up'
> May 11 15:59:32 hdc-onl-dns01 dnsdist[24365]: Marking downstream 
> hdc-onl-dns01-recursor (10.225.12.19:53) as 'down'
> The recursor service isn't down and if i run the below type command, i 
> recieve no failures.
> $ while true; do dig @10.225.12.19 google.com +short; done
> I'm using these packages
> pdns-4.0.3-1pdns.el7.x86_64
> pdns-backend-geoip-4.0.3-1pdns.el7.x86_64
> dnsdist-0.0.1551g8c5dc03-1pdns.el7.x86_64
> pdns-recursor-4.0.4-1pdns.el7.x86_64
> pdns-backend-mysql-4.0.3-1pdns.el7.x86_64
> Can you help please ?
>
>
>
> _______________________________________________
> dnsdist mailing list
> dnsdist at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20170512/68498e81/attachment.html>


More information about the dnsdist mailing list