https://www.howtoforge.com/how-to-setup-local-dns-server-using-dnsmasq-on-ubuntu-20-04/
* /etc/dnsmasq.conf (공유기 연결) ....
listen-address=127.0.0.1,10.176.96.1 interface=eth0 interface=wg0 If you don't want dnsmasq to read /etc/resolv.conf or any other # file, getting its servers from this file instead (see below), then # uncomment this. no-resolv
# If you don’t want dnsmasq to poll /etc/resolv.conf or other resolv
# files for changes and re-read them then uncomment this.
#no-poll
# Add other name servers here, with domain specs if they are for
# non-public domains.
#server=/localnet/192.168.0.1
server=168.126.63.1 server=168.126.63.2 server=10.176.96.1@eth0 server=8.8.8.8 server=8.8.4.4 cache-size=1000
** /etc/resolv.conf # Generated by NetworkManager nameserver 127.0.0.1 options edns0 trust-ad
*** /etc/dnsmasq.conf (직접 연결) ... interface=eth0 interface=wg0 listen=127.0.0.1,10.20.4.1 server=8.8.8.8 server=8.8.4.4 cache-size=1000 **** /etc/resolv.conf (직접 연결) # Generated by NetworkManager search kornet nameserver 127.0.0.1 options edns0 trust-ad