--- DSNMASQ ---



-- install dnsmasq
yum install dnsmasq
After the config is setup sart tjhe dnsmasq service
chkconfig dnsmasq on
OR
systemctl enable dnsmasq
systemctl stop dnsmasq
systemctl status dnsmasq


-- backup and replace /etc/dnsmasq.conf with the following (change mydomain.net to suite)
@/etc/dnsmasq.conf
domain-needed
bogus-priv
domain=cc.binghamton.edu
expand-hosts
local=/cc.binghamton.edu/
listen-address=127.0.0.1
listen-address=MACHINE IP
bind-interfaces
server=128.226.1.11
server=8.8.8.8

-- backup and replace /etc/resolv.conf with the following (change mydomain.net to suite)
@/etc/resolv.conf
domain mydomain.net
nameserver 127.0.0.1

-- add the following to /etc/hosts (change mydomain.net to suite)
@/etc/hosts
#-- dnsmasq entries --
192.168.1.1 mydesktop.mydomain.net mydesktop virtual1
192.168.1.2 virtual2.mydomain.net virtual2
192.168.1.3 virtual3.mydomain.net virtual3
192.168.1.4 virtual4.mydomain.net virtual4
192.168.1.5 virtual5.mydomain.net virtual5



Valid HTML 4.0 Transitional