Est-il possible d'avoir des DNS rond-robin avec la configuration de Follwing en /etc/hosts
?
192.168.4.10 shaakunthala.local
192.168.4.20 shaakunthala.local
Je suis sur Linux.
Dnsmasq INDIQUES DNS ROBINE DNS OUT-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
Address: 127.0.0.1#53
Name: rrtest
Address: 1.1.1.1
Name: rrtest
Address: 2.2.2.2