# yum install dnsmasq -y
# vi /etc/dnsmasq.d/lokalDHCP.dns
domain-needed
bogus-priv
expand-hosts
read-ethers
domain=smk.sch.id
dhcp-range=192.168.100.1,192.168.100.100,10m
dhcp-option=3,192.168.100.200
# vi /etc/hosts
192.168.100.200 smk.sch.id
# vi /etc/resolv.conf
search smk.sch.id
nameserver 192.168.100.200
nameserver smk.sch.id
systemctl start dnsmasq
systemctl restart network
# vi /etc/dnsmasq.d/lokalDHCP.dns
domain-needed
bogus-priv
expand-hosts
read-ethers
domain=smk.sch.id
dhcp-range=192.168.100.1,192.168.100.100,10m
dhcp-option=3,192.168.100.200
# vi /etc/hosts
192.168.100.200 smk.sch.id
# vi /etc/resolv.conf
search smk.sch.id
nameserver 192.168.100.200
nameserver smk.sch.id
systemctl start dnsmasq
systemctl restart network
Post a Comment