답변:
dnsmasq에는 기본적으로 DHCP 서버가 비활성화되어 있습니다. 그것을 가능하게하려면 dhcp 관련 줄의 주석을 제거해야합니다./etc/dnsmasq.conf
모든 요청을 208.67.222.222로 전달하려면 dnsmasq 구성을 건드리지 않고 다음을 추가하면 충분합니다 /etc/resolv.conf
.
nameserver 127.0.0.1
# In order to configure dnsmasq to act as cache for the host on which it
# is running, put [as the first line] "nameserver 127.0.0.1" in /etc/resolv.conf to force
# local processes to send queries to dnsmasq. [...]
# dnsmasq is smart enough to ignore this line and forward all queries appropriately,
# while all other applications will send all their queries to dnsmasq.
nameserver 208.67.222.222
그게 다야 :)