I would like to set up load balancing for my website using DNS round robin.
My DNS is managed by my own CentOS 6 server running bind.
I added the following into my zone file:
@ IN NS ns1.mydns.ch.
@ IN NS ns2.mydns.ch.
@ IN MX 10 mail1.mydomain.ch.
@ IN A 10.10.10.01
IN A 10.10.10.02
www IN CNAME mydomain.ch.
However, when I run nslookup mydomain.ch I still only get the first IP.
What I would like to see is both IPs, with the order randomized.
How can I modify my zone file to accomplish this?