간단한 DNS서버를 구축하기 위해 아래 dnsmasq를 설치하고, dnsmasq.conf를 아래와 같이 설정하였다. $ yum install dnsmasq $ cat /etc/dnsmasq.conf port=53 domain-needed bogus-priv listen-address=127.0.0.1 expand-hosts domain=example.com cache-size=1000 $ systemctl start dnsmasq 그런다음 cache DNS로 사용하기 위해 /etc/resolve.conf 에 127.0.0.1과 8.8.8.8 설정 $ cat /etc/resolv.conf nameserver 127.0.0.1 nameserver 8.8.8.8 nameserver 8.8.4.4 /etc/ho..