vi /etc/dnsmasq.conf
….
resolv-file=/etc/dnsmasq.resolv.conf
vi /etc/dnsmasq.resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
vi /etc/resolv.conf
search private.ckenko25.jp
nameserver 127.0.0.1
検証
dig www.yahoo.co.jp @localhost
vi /etc/dnsmasq.conf
….
resolv-file=/etc/dnsmasq.resolv.conf
vi /etc/dnsmasq.resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
vi /etc/resolv.conf
search private.ckenko25.jp
nameserver 127.0.0.1
dig www.yahoo.co.jp @localhost
コメント