News: This forum is now permanently frozen.
Pages: [1]
Topic: m0n0wall 1.34 DNS Cache Size Mod  (Read 44725 times)
« on: March 07, 2012, 19:52:44 »
ky41083 *
Posts: 9

Edit: m0n0wall 1.33

Modified "" and "services_dnsmasq.php" to include an option to set the Dnsmasq cache size. Nothing else was modified in any way.

I am always annoyed with my U-Verse RG session limit and having a DNS cache size of only 150 on my firewall was bugging me. Who knew I'd spend a weekend learning the internals of m0n0wall over it Wink

Even if m0n0wall is your edge device, this at the very least should reduce unnecessary extra external DNS queries.

Spent a fair amount of time getting everything just right, so I figured why not share it for those that want it.

Image -
Hash File -
or SHA1: AC719CAA76B82608B6CCC178CE4802D8497D7F83

« Last Edit: March 29, 2013, 03:28:22 by ky41083 »

Do it 'cause I love it!
« Reply #1 on: March 07, 2012, 20:14:48 »
Fred Grayson *****
Posts: 994

Can you provide the diffs of the files you changed?


Google is your friend and Bob's your uncle.
« Reply #2 on: May 08, 2012, 19:13:08 »
ky41083 *
Posts: 9

Just extract my image & the stock image then compare the two files I mentioned to the originals. There's really not all that much different, just took a while to make it work right.

Do it 'cause I love it!
« Reply #3 on: December 24, 2012, 12:10:04 »
ky41083 *
Posts: 9

Will be updating this soon for 1.34. I will provide diffs (as requested, and as I now know how to make them well Tongue) and pre-edited images for generic-pc, cdrom, and embedded.

Do it 'cause I love it!
« Reply #4 on: March 29, 2013, 02:49:55 »
ky41083 *
Posts: 9

Ok, so I lied, and I'm an as**ole, lol.

Shortly after making that post I switched to pfSense out of a need for OpenVPN support on my edge device.

I am still taking this opportunity to make good on at least some of my word.....

What I'm not including (due to lack of time), you can very easily create.... Building your own updated ISO using the generic pc image, and from what I understand you should be able to port these changes to an embedded image with a good amount of ease as well.

Below you can find:

- A diff patch of 1.34 generic pc in style directory structure, simply modify the file paths according to your environment and apply


- A repacked image file with these changes for generic pc 1.34 ready to go


« Last Edit: March 29, 2013, 02:52:41 by ky41083 »

Do it 'cause I love it!
Pages: [1]
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines