안녕하세요. 이 명령을 사용하는 데 문제가 있습니다...
dnsmasq.conf 파일을 다음과 같이 만들었습니다.
interface=wlan0mon
dhcp-range= 192.168.1.2, 192.168.1.30, 255.255.255.0, 12h
dhcp-option=3, 192.168.1.1
dhcp-option=6, 192.168.1.1
server= 8.8.8.8
log-queries
log-dhcp
listen-address= 127.0.0.1
명령어를 눌렀을 때
sudo dnsmasq -C dnsmasq.conf -d
알겠어요:
dnsmasq: started, version 2.84rc2 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP
conntrack ipset auth cryptohash DNSSEC loop-detect inotify dumpfile
dnsmasq-dhcp: DHCP, IP range 192.168.1.2 -- 192.168.1.30, lease time 12h
dnsmasq: using nameserver 8.8.8.8#53
dnsmasq: no servers found in /etc/resolv.conf, will retry
dnsmasq: read /etc/hosts - 6 addresses
내 resolv.conf 파일에는 다음이 포함되어 있습니다.
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN # 127.0.0.53 is the systemd-resolved stub resolver. # run "resolvectl status" to see details about the actual nameservers.
namserver 192.168.1.1
namserver fe::d635:1dff:fe1e:463f%wlan0
search homenet.telecomitalia.it