[dnsdist] downstream flapping down/up
scott McGillivray
floriangray at mail.com
Fri May 12 04:40:21 UTC 2017
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 receive 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 ?
More information about the dnsdist
mailing list