[Pdns-users] GLSB with Health Check Mechanism
Hamed Haghshenas
haghshenas at chavoosh.com
Tue Apr 24 09:52:04 UTC 2018
Hello Dears,
I run PDNS as traffic management for my servers, I install powerdns
Authoritative with EDNS Support and GeoIP Backend .
Then I create a yaml configuration file to manage my traffic based on client
subnets like bellow :
##########################
domains:
- domain: geo.web45.ir
ttl: 30
records:
geo.web45.ir:
unknown.geo.web45.ir:
- a: A.B.C.D
tcea.geo.web45.ir:
- a: W.X.Y.Z
tcwa.geo.web45.ir:
- a: I.J.K.L
services:
geo.web45.ir:
default: [ 'unknown.geo.web45.ir' ]
##### TCEA NETWORK #####
176.223.80.0/21: 'tcea.geo.web45.ir'
176.65.160.0/19: 'tcea.geo.web45.ir'
##### TCWA NETWORK #####
178.216.252.0/22: 'tcea.geo.web45.ir'
185.131.128.0/18: 'tcea.geo.web45.ir'
############################################
Now I want add health check, for Example, before redirect 185.131.128.0/18
requests to I.J.K.L check the health of I.J.K.L
With ping, http or . and if is OK redirect to I.J.K.L else redirect to
default A.B.C.D .
Best Regards,
Hamed Haghshenas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20180424/c1a40d64/attachment-0001.html>
More information about the Pdns-users
mailing list