I have been trying to create an LVS DNS HA using CentOS 6.x:
- Piranha GUI to configure the DNS
- Pulse is the HA heart of CentOS LB
- IPTables to configure marks on the packets since DNS uses TCP and UDP 53
After several days, I find that I can not figure out how to make it work - and I was hoping that someone has either the lvs.cf file avaiable along with all iptables rules necessary. Or if someone has already used some other OpenSource & Free software that allows to do DNS LB (not round robine DNS A records - that's not what the purpose of this exercise is for).
If anyone has successfully made named DNS under LVS with two or more real-servers within the pool, work, I would greatly appreciate if the configurations could be posted:
- iptables rules to place
I am primarily looking for either Direct Server Return or NAT - either solution will work for me.
Thank you in advance.