I installed dnsmasq on a debian 10.04 machine created in VMware. I set two interfaces for it: the first one (ens33) in bridge mode with my physical LAN; the second one (ens37) as a gateway for the other VMs installed in Wmware workstation. Basically, my debian machine works as a dhcp/dns/server and as a firewall for the VMs. It works great. I then decided to make debian work as dns server for my physical LAN, but I had gone through several issues. Finally, I managed to make it work....until this morning. It seems to be a problem with the ens33 interface wich IP is 192.168.3.96:
I ran
sudo systemctl status dnsmasq:
Code:
ago 31 09:25:20 debianser systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
ago 31 09:25:21 debianser dnsmasq[650]: dnsmasq: syntax check OK.
ago 31 09:25:22 debianser dnsmasq[685]: started, version 2.80 cachesize 150
ago 31 09:25:22 debianser dnsmasq[685]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TF
ago 31 09:25:22 debianser dnsmasq[685]: warning: interface ens33 does not currently exist
ago 31 09:25:22 debianser dnsmasq[685]: no servers found in /run/dnsmasq/resolv.conf, will retry
ago 31 09:25:22 debianser dnsmasq[685]: read /etc/hosts - 5 addresses
ago 31 09:25:24 debianser dnsmasq[685]: reading /run/dnsmasq/resolv.conf
ago 31 09:25:24 debianser dnsmasq[685]: ignoring nameserver 192.168.3.96 - local interface
ago 31 09:25:25 debianser systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
I then restart dnsmasq
sudo systemctl restart dnsmasq and lunched again
sudo systemctl status dnsmasq:
Code:
ago 31 09:33:37 debianser systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
ago 31 09:33:37 debianser dnsmasq[2873]: dnsmasq: syntax check OK.
ago 31 09:33:37 debianser dnsmasq[2882]: started, version 2.80 cachesize 150
ago 31 09:33:37 debianser dnsmasq[2882]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipse
ago 31 09:33:37 debianser dnsmasq[2882]: no servers found in /run/dnsmasq/resolv.conf, will retry
ago 31 09:33:37 debianser dnsmasq[2882]: read /etc/hosts - 5 addresses
ago 31 09:33:38 debianser dnsmasq[2882]: reading /run/dnsmasq/resolv.conf
ago 31 09:33:38 debianser dnsmasq[2882]: ignoring nameserver 192.168.3.96 - local interface
ago 31 09:33:39 debianser systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
I haven't understood what is wrong with it now.
Thanks