Cannot disable dnsmasq

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
Ivo_K
DD-WRT Novice


Joined: 12 Jan 2018
Posts: 37

PostPosted: Fri Jul 14, 2023 19:15    Post subject: Cannot disable dnsmasq Reply with quote
On the Basic Setup page I have unticked Use dnsmasq for DNS and that works fine as far as the DNS is concerned. However, it seems that dnsmasq is still used with the DHCP server. Unless I disable the DHCP server, the Dnsmasq Infrastructure on the Services tab stays with Enable dnsmasq enabled and that cannot be changed. If I untick there the Enable dnsmasq option and apply/save, it appears saved but leaving this tab and coming back to it I find the value has reverted back to enabled. Also, looking at the running processes with the SSH top command, I can see that dnsmasq is running.

My question is: can I use the DHCP server without dnsmasq? And if so, how to achieve it?

Firmware: DD-WRT v3.0-r53305 std (07/14/23)
Router: Linksys WRT1200AC
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2855
Location: Germany

PostPosted: Fri Jul 14, 2023 19:27    Post subject: Re: Cannot disable dnsmasq Reply with quote
Ivo_K wrote:
My question is: can I use the DHCP server without dnsmasq? And if so, how to achieve it?


Basic Setup > Dynamic Host Configuration Protocol (DHCP) > Use dnsmasq for DNS = disabled

then the clients do not get the address of the dnsmasq server via DHCP but a server that is configured under "Static DNS".

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.2 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
Ivo_K
DD-WRT Novice


Joined: 12 Jan 2018
Posts: 37

PostPosted: Fri Jul 14, 2023 19:49    Post subject: Reply with quote
I did that and indeed the DNS servers passed on to the clients are the static addresses that you mention.

However, it seems that dnsmasq still continues to be used. The Dnsmasq Infrastructure on the Services tab stays with Enable dnsmasq option enabled and that cannot be changed.

Also, looking at the running processes with the SSH top command, I can see that dnsmasq is running.

So, to rephrase my question: why is dnsmasq running and can I disable it completely?
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1852

PostPosted: Fri Jul 14, 2023 21:57    Post subject: Reply with quote
Because dnsmasq is also the dhcp server.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum