LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-31-2020, 07:36 AM   #1
sirlinux
LQ Newbie
 
Registered: Aug 2020
Distribution: debian, ubuntu
Posts: 19

Rep: Reputation: Disabled
dnsmasq issues: warning: interface ens33 does not currently exist


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
 
Old 09-01-2020, 05:30 AM   #2
sirlinux
LQ Newbie
 
Registered: Aug 2020
Distribution: debian, ubuntu
Posts: 19

Original Poster
Rep: Reputation: Disabled
I fixed it finally!
 
Old 09-01-2020, 07:47 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,174
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Quote:
Originally Posted by sirlinux View Post
I fixed it finally!
Could you please share with us the solution, so others with the same problem could benefit of it.

Thanks and regards.
 
Old 09-01-2020, 01:12 PM   #4
sirlinux
LQ Newbie
 
Registered: Aug 2020
Distribution: debian, ubuntu
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
Could you please share with us the solution, so others with the same problem could benefit of it.

Thanks and regards.

Ok

I found this article:

https://bugs.launchpad.net/ubuntu/+s...q/+bug/1090589

I modified the file they suggest accordingly, then I ran again:

sudo systemctl status dnsmasq


Code:
set 01 12:01:53 debianser dnsmasq[885]: using nameserver 8.8.8.8#53
set 01 12:01:53 debianser dnsmasq[885]: using nameserver 8.8.4.4#53
set 01 12:01:53 debianser dnsmasq[885]: using nameserver 8.8.8.8#53
set 01 12:01:53 debianser dnsmasq[885]: using nameserver 8.8.4.4#53
set 01 12:01:53 debianser dnsmasq[885]: read /etc/hosts - 5 addresses
set 01 12:01:55 debianser dnsmasq[885]: reading /etc/resolv.conf
set 01 12:01:55 debianser dnsmasq[885]: using nameserver 8.8.8.8#53
set 01 12:01:55 debianser dnsmasq[885]: using nameserver 8.8.4.4#53
set 01 12:01:55 debianser dnsmasq[885]: ignoring nameserver 127.0.0.1 - local interface
set 01 12:01:56 debianser systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
I just don't understand what that "ignoring nameserver 127.0.0.1 - local interface" is for.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cannot login to funtoo linux. UID 0 does not exist. no users or groups seem to exist. whansard Linux - Security 1 12-19-2018 03:40 AM
Currently exist at the FreeBSD and OpenBSD source codes comments that says, 'Does this belong here?'? pompous ninja *BSD 7 02-04-2018 12:31 PM
dnsmasq: Getting warning that interface doesn't exist ravi.xolve Linux - Networking 2 04-14-2012 07:35 AM
ERROR: The interface does not exist (UBUNTU) interface eth0 not configured anshulbhatt Linux - Networking 2 11-20-2008 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration