TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dnsmasq wins the first BlueHats Prize

172 pointsby oeverabout 1 year ago

12 comments

ploxilnabout 1 year ago
Dnsmasq is one of those humble low-resources low-dependencies low-churn low-level tools that ends up in a bunch of places - so many home/SMB routers, "internet sharing" features of linux-based OSes (like android but also linux desktops using NetworkManager) and personal projects or test-setups for working on networking equipment ... and it's easy to kinda forget about it. Kudos, and I'm sure it deserves far more donations.
评论 #40081674 未加载
WirelessGigabitabout 1 year ago
Dnsmasq is amazing. I spend quite the amount of time learning its config when hacking DD-WRTs.<p>One thing that always bothered me is how hard it is to set Dnsmasq to do SLAAC but no RDNS.<p>You see, if you set<p><pre><code> enable-ra </code></pre> [0], it defaults to using link-local address of the machine as the rDNS server.<p>You can set another one by setting<p><pre><code> dhcp-option=option6:dns-server,[2001:4860:4860::8844] </code></pre> If you don&#x27;t enable DHCPv6 that entry is used as the rdns entry.<p>BUT...<p>That means that if you read through this there is no easy way to prevent a DNS address from being distributed, and it is quite common to want to do that. One of the reasons is that I want my clients to use IPv4 so I can track them, but still allow them to use SLAAC (and thus privacy protections) to talk to the outside world. But if they use SLAAC to talk to my DNS, I get WAY too many addresses in there.<p>The trick is to set:<p><pre><code> dhcp-option=option6:dns-server </code></pre> an empty value... Not sure if you can add the comma or not.<p>I could only find 1 reference online: <a href="https:&#x2F;&#x2F;lists.thekelleys.org.uk&#x2F;pipermail&#x2F;dnsmasq-discuss&#x2F;2020q4&#x2F;014521.html" rel="nofollow">https:&#x2F;&#x2F;lists.thekelleys.org.uk&#x2F;pipermail&#x2F;dnsmasq-discuss&#x2F;20...</a><p>I firmly believe that this design choice has made it as such that no commercially available, customer router has support for SLAAC without rDNS.<p>[0] <a href="https:&#x2F;&#x2F;dnsmasq.org&#x2F;docs&#x2F;dnsmasq-man.html#:~:text=By%20default%2C%20the%20relevant%20link%2Dlocal%20address%20of%20the%20machine%20running%20dnsmasq%20is%20sent%20as%20recursive%20DNS%20server" rel="nofollow">https:&#x2F;&#x2F;dnsmasq.org&#x2F;docs&#x2F;dnsmasq-man.html#:~:text=By%20defau...</a>.
评论 #40082560 未加载
sophaclesabout 1 year ago
Oh good - this is a well deserved award for dnsmasq. It&#x27;s one of the top entries on my personal short-list of &quot;software that&#x27;s actually good&quot;. I use it all the time in products, test environments and one-offs, and in my 20+ years of using it, it&#x27;s never been the problem.<p>I may have misconfigured it, or tried to get it to do things far beyond what makes sense, or forgotten to add a command line flag as the root cause of my issue - but the software itself has always just done exactly what the documentation says it will. It just works.<p>Congrats to Simon and all the contributors over the years, and thanks for simplifying part of my existence.
ThinkingGuyabout 1 year ago
Dnsmasq was recently the subject of a FLOSS Weekly podcast episode:<p><a href="https:&#x2F;&#x2F;hackaday.com&#x2F;2024&#x2F;03&#x2F;27&#x2F;floss-weekly-episode-776-dnsmasq-making-the-internet-work-since-1999&#x2F;#more-671472" rel="nofollow">https:&#x2F;&#x2F;hackaday.com&#x2F;2024&#x2F;03&#x2F;27&#x2F;floss-weekly-episode-776-dns...</a>
评论 #40083445 未加载
hkwerfabout 1 year ago
dnsmasq is such a nice tool. I use it daily, for work with embedded devices.<p>Its simple configuration also allows me to quickly provide &quot;default&quot; network configurations, simply by copy-pasting the command and parameters to invoke it, to my customers so they can verify devices without integration into their network.
评论 #40079194 未加载
mianosabout 1 year ago
When he was on FLOSS weekly last week, he was saying it&#x27;s running on every Android phone. Right there are 3 billion devices running his code.
lucb1eabout 1 year ago
Does anyone know what NLnet&#x27;s involvement is? It says it&#x27;s a french initiative and, clicking through, all I can find it that they &quot;partnered&quot;, but it doesn&#x27;t say if they provide part of the money or how this collaboration works:<p>&gt; The French public administration is rewarding maintainers of critical Free Software that it uses. Its Free Software unit (an OSPO) has partnered with NLnet to put four notable projects in the spotlight and award them the BlueHats 2024 prizes.<p>(For those not familiar with NLnet, they fund a <i>lot</i> of cool stuff. Picking a random one I like from the list of currently funded projects as an example: <a href="https:&#x2F;&#x2F;nlnet.nl&#x2F;project&#x2F;CryptPad-Blueprints&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nlnet.nl&#x2F;project&#x2F;CryptPad-Blueprints&#x2F;</a>)
评论 #40080982 未加载
评论 #40081013 未加载
评论 #40084174 未加载
transputeabout 1 year ago
dnsmasq can be used for wildcard domain aliases in OPNsense firewall, <a href="https:&#x2F;&#x2F;github.com&#x2F;opnsense&#x2F;core&#x2F;issues&#x2F;4145#issuecomment-1208889357">https:&#x2F;&#x2F;github.com&#x2F;opnsense&#x2F;core&#x2F;issues&#x2F;4145#issuecomment-12...</a>
评论 #40080012 未加载
hiAndrewQuinnabout 1 year ago
Dnsmasq saved me at work last month when I had to stand up a DNS server fast in order to get around an externally supplied one. I&#x27;ll forever be grateful to you, dnsmasq. You are excellent.
trallnagabout 1 year ago
Have been using dnsmasq for years now in Microsoft&#x27;s WSL to deal with split DNS.
评论 #40081995 未加载
1970-01-01about 1 year ago
BlueHats Prize is a buried story.<p><a href="https:&#x2F;&#x2F;nlnet.nl&#x2F;bluehatsprize&#x2F;2024&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nlnet.nl&#x2F;bluehatsprize&#x2F;2024&#x2F;</a>
andrewstuartabout 1 year ago
The prize is such a small amount of money its almost an insult.<p>Governments employee tens of thousands of people on $60K to $300K per year and for critical open source projects? A $10K prize. Ugh.
评论 #40083128 未加载
评论 #40082627 未加载
评论 #40084880 未加载