Jump to content
digitalformula

Dnsmasq - can I run KVM without it?

9 posts in this topic Last Reply

Recommended Posts

Hello -

 

Is dnsmasq required for the operation of KVM?

 

Asking as I'm trying to install Pihole but the Docker container is failing due to port 53 already being in use.  Netstat tells me it is in use by dnsmasq on local address 192.168.122.1 and I've tracked that down to 192.168.122.0/24 being attached to virbir0 in the routing table.

 

Stopping KVM allows the container to work.

 

Can I still use KVM if I somehow remove/stop dnsmasq?  Docker is more important than KVM on this server so it's not a biggie if the answer is no.

Share this post


Link to post
Hello -
 
Is dnsmasq required for the operation of KVM?
 
Asking as I'm trying to install Pihole but the Docker container is failing due to port 53 already being in use.  Netstat tells me it is in use by dnsmasq on local address 192.168.122.1 and I've tracked that down to 192.168.122.0/24 being attached to virbir0 in the routing table.
 
Stopping KVM allows the container to work.
 
Can I still use KVM if I somehow remove/stop dnsmasq?  Docker is more important than KVM on this server so it's not a biggie if the answer is no.

Use bridge so the container will have another IP address

Share this post


Link to post
3 minutes ago, TheBlueKingLP said:


Use bridge so the container will have another IP address

It is already configured as bridge.  There's a setting for "Server IP" but no matter what I set that to, that IP doesn't respond to anything.

 

It's no biggie, though - stopping KVM has worked.

Share this post


Link to post
It is already configured as bridge.  There's a setting for "Server IP" but no matter what I set that to, that IP doesn't respond to anything.
 
It's no biggie, though - stopping KVM has worked.

Is it set to the same subnet as your server?or subnet that you and the server can access?

Share this post


Link to post
3 minutes ago, TheBlueKingLP said:


Is it set to the same subnet as your server?or subnet that you and the server can access?

Yes, same subnet - this part of the network is all on the same /24 (the other parts are DMZ etc, so completely isolated from unRAID).

 

Edit: THe Pi-hole UI does show that IP as the "Pi-hole IPv4 address" though.

 

Edit 2: Btw, Pi-hole is functioning just fine and ads are being blocked.  I can see the stats in the UI.

Edited by digitalformula

Share this post


Link to post
Yes, same subnet - this part of the network is all on the same /24 (the other parts are DMZ etc, so completely isolated from unRAID).
how many subnet do you have? Is the computer that you tried to connect to pihole on the same subnet as the pihole? If not, try to use the same subnet, btw, pihole should have a web interface, try to open that as well

Share this post


Link to post
2 minutes ago, TheBlueKingLP said:
4 minutes ago, digitalformula said:
Yes, same subnet - this part of the network is all on the same /24 (the other parts are DMZ etc, so completely isolated from unRAID).

how many subnet do you have? Is the computer that you tried to connect to pihole on the same subnet as the pihole? If not, try to use the same subnet, btw, pihole should have a web interface, try to open that as well

Yup sorry I should've included that info before.

 

unRAID, this desktop, the Pi-hole WebUI etc are all on the same subnet.  Pi-hole and its UI are working fine and I can see traffic there + ads being blocked.  Tested with speedtest.net and a few others that are known to be bad for ads.

 

I don't really use KVM on unRAID anymore so I'll just ignore it for now.  Thanks, though.  :)

Edited by digitalformula

Share this post


Link to post
Yup sorry I should've included that info before.
 
unRAID, this desktop, the Pi-hole WebUI etc are all on the same subnet.  Pi-hole and its UI are working fine and I can see traffic there + ads being blocked.  Tested with speedtest.net and a few others that are known to be bad for ads.
 
I don't really use KVM on unRAID anymore so I'll just ignore it for now.  Thanks, though. 

Ok then

Share this post


Link to post

I am hitting this issue now as well.  PiHole will not start up when VMs are enabled, as DNSMasq is using port 53 (DNS) on UNRAID when VMs are enabled.  When the VM functionality is turned on in UNRAID, the DNSMasq service is stopped as well.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.