Is it possible to have round-robin DNS with /etc/hosts file?

dnsmasq inludes Round-robin DNS out-of-the-box > egrep -m1 ‘^nameserver’ /etc/resolv.conf nameserver 127.0.0.1 > grep -i rrtest /etc/hosts 1.1.1.1 rrtest 2.2.2.2 rrtest > /etc/init.d/dnsmasq restart Shutting down dnsmasq: [ OK ] Starting dnsmasq: [ OK ] > nslookup rrtest Server: 127.0.0.1 Address: 127.0.0.1#53 Name: rrtest Address: 2.2.2.2 Name: rrtest Address: 1.1.1.1 > nslookup rrtest Server: 127.0.0.1 … Read more

DNS Round Robin: Do browsers stick to one IP as long as it is online?

Each browser has it’s own method of handling round-robin DNS, I’ve spent some time today researching this problem and will continue to update my answer as I find proof of implementation which will limit my answers to browsers that expose their behavior. Google Chrome Google Chrome (v58 used) will request all host entries for an … Read more