Adding the ability to manage hosts in /etc/hosts will multiple IP addresses

Adding the ability to manage hosts in /etc/hosts will multiple IP addresses, eg. both IPv4 and IPv4.  Also added validation to ensure a valid IP address is only added. Per #13709