PDA

View Full Version : PROBLEM with dnsmasq



Wallybok
2021-04-09, 08:00
Hi there I'm having problems with this command...

I made the dnsmasq.conf file this way:

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

when I hit the command:


sudo dnsmasq -C dnsmasq.conf -d

I get this:


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

What is wrong?

Thank you in advance!