dnsmasq only recognize the last record, what should I do?
Create a file,
say /etc/hosts.chat.freenode.net, that has the same format as
/etc/hosts file and list all IP addresses with name in this file:
220.127.116.11 chat.freenode.net 18.104.22.168 chat.freenode.net
Then add to the
dnsmasq.conf the following line:
Or put these two lines into
dnsmasq is set to read in the
Copy the existing
ifcfg-eth0:0 and change the existing IP to your virtual IP (the one you want to add).
It can be found at /etc/sysconfig/network-scripts.
Restart the network and try to ping the virtual IP.