Re: [Dnsmasq-discuss] How to prevent Network Manager changing /etc/resolv.conf so dnsmasq doesn't cache?

2024-11-05 Thread David Kronenwetter via Dnsmasq-discuss
The 192.168.1.1 is probably coming from DHCP? If so, configure your DHCP server to advertise the preferred DNS server. You could also configure your firewall to redirect all DNS requests to the preferred DNS server. Just make sure you don’t block dnsmasq in the process. --David From: Chris

[Dnsmasq-discuss] DNSmasq issue

2024-10-27 Thread Shwetha via Dnsmasq-discuss
Hi team, I was building the prpl3.1 version for the rpi4. When I flashed the image observed that dnsmasq was not running by default. I did the manual running of the dnsmasq(/usr/sbin/dnsmasq -k &). Can I get the more info about this? Is their any way to run the dnsmasq by default ,

[Dnsmasq-discuss] dnsmasq running

2024-10-24 Thread Shwetha via Dnsmasq-discuss
Hi team, I was building the prpl3.1 version for the rpi4. When I flashed the image observed that dnsmasq was not running by default. I did the manual running of the dnsmasq(/usr/sbin/dnsmasq -k &). Can I get the more info about this? Is their any way to run the dnsmasq by default ,

Re: [Dnsmasq-discuss] Bug? no-negcache set but still instant status:REFUSE w/ EDE: 23 (Network Error).

2024-10-19 Thread mo via Dnsmasq-discuss
チュimoc wrote: > `dig foo.bar @127.0.0.1 -p 53`, 0ms instant return which upstream is at > least 10ms away. > But dig upstream the result is correct. Restarted dnsmasq it'll work for a > while then error again. I'm on the latest git. Running a debug screen for > now and w

[Dnsmasq-discuss] Bug? no-negcache set but still instant status:REFUSE w/ EDE: 23 (Network Error).

2024-10-19 Thread mo via Dnsmasq-discuss
`dig foo.bar @127.0.0.1 -p 53`, 0ms instant return which upstream is at least 10ms away. But dig upstream the result is correct. Restarted dnsmasq it'll work for a while then error again. I'm on the latest git. Running a debug screen for now and want to get more inf

Re: [Dnsmasq-discuss] Problem with auth and sub-domain servers

2024-10-16 Thread Roger Lucas via Dnsmasq-discuss
Hi Buck, > Hi Lucas, > > your answers are not exactly providing too many extra details, so I try > to generalise a bit. > Apologies, and thank you. > > On 15.10.24 16:24, Roger Lucas wrote: > > For me, the question isn't whether DNSMASQ should be configure

Re: [Dnsmasq-discuss] Problem with auth and sub-domain servers

2024-10-15 Thread Buck Horn via Dnsmasq-discuss
Hi Lucas, your answers are not exactly providing too many extra details, so I try to generalise a bit. On 15.10.24 16:24, Roger Lucas wrote: For me, the question isn't whether DNSMASQ should be configured to be authoritative or not. I'm comfortable with the fact that Windows will

Re: [Dnsmasq-discuss] Problem with auth and sub-domain servers

2024-10-15 Thread Roger Lucas via Dnsmasq-discuss
Hi Buck, Thanks for your reply. Comments inline. > > From: Dnsmasq-discuss on > behalf of Buck Horn via Dnsmasq-discuss > > Sent: 15 October 2024 14:08 > To: dnsmasq-discuss@lists.thekelleys.org.uk > > Cc: Buck Horn > Su

Re: [Dnsmasq-discuss] Problem with auth and sub-domain servers

2024-10-15 Thread Buck Horn via Dnsmasq-discuss
On 10.10.24 12:13, Roger Lucas via Dnsmasq-discuss wrote: We have corporate Windows domain servers which delegate "labs.internal.company.com" to a DNSMASQ instance running on the lab gateway. This DNSMASQ instance has to run in authoritative mode otherwise we have problems with W

Re: [Dnsmasq-discuss] Problem with auth and sub-domain servers after chain extension

2024-10-14 Thread Roger Lucas via Dnsmasq-discuss
Hi Geert, Thanks for coming back to me on this. > From: Dnsmasq-discuss on > behalf of Geert Stappers > Sent: 14 October 2024 16:26 > To: dnsmasq-discuss@lists.thekelleys.org.uk > > Subject: Re: [Dnsmasq-discuss] Problem with auth and sub-domain servers after

[Dnsmasq-discuss] Problem with auth and sub-domain servers

2024-10-10 Thread Roger Lucas via Dnsmasq-discuss
Hi All, Firstly, thanks for DNSMASQ. I've used it for longer than I can remember, and it works incredibly well. I have a problem with part of our lab networking, which is using DNSMASQ. The problem is as follows. We have corporate Windows domain servers which del

Re: [Dnsmasq-discuss] [PATCH] Update DNS records after pruning DHCP leases

2024-10-07 Thread Dominik Derigs via Dnsmasq-discuss
Hi Erik, the decision of the Pi-hole team to apply your patch without the usual waiting for patches to go into dnsmasq main trunk first is one way to show that we were (and still are) absolutely convinced about the patch and consider the likeliness of having to revert it at any point very

[Dnsmasq-discuss] [PATCH] forward.c: fix handling of truncated response

2024-10-04 Thread Rahul Thakur via Dnsmasq-discuss
From: Rahul Thakur The handling of truncated reponse is broken in 2.90. The answers are removed before forwarding in case TC bit is set, which seems incorrect as per rfc 5625. A combined reading of section 4.4.1 of rfc 5625 section 6.1.3.2 of rfc 1123 suggests when dnsmasq explicitly deletes the

[Dnsmasq-discuss] [PATCH] forward.c: fix handling of truncated response

2024-10-02 Thread Rahul Thakur via Dnsmasq-discuss
From: Rahul Thakur the handling of truncated reponse is broken in 2.90. The answers are removed before forwarding in case TC bit is set, which seems incorrect as per rfc 5625. A combined reading of section 4.4.1 of rfc 5625 section 6.1.3.2 of rfc 1123 suggests when dnsmasq explicitly deletes

Re: [Dnsmasq-discuss] [PATCH 1/1] forward.c: fix handling of truncated response

2024-10-02 Thread Dominik Derigs via Dnsmasq-discuss
forums to cause a huge amount of queries due to exactly this truncation method we are talking about here (when dnsmasq is used with DNSSEC, the query A time.nist.gov results in truncation). Said Tapo camera is not behaving nicely and does not retry over TCP. Instead, it retries the same query

[Dnsmasq-discuss] socket activation support (systemd)

2024-10-01 Thread kuehn.michael--- via Dnsmasq-discuss
Hi, i found the some threads discussing this already (in 2023 and decades before that), including: - https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg17151.html Disclaimer: i won’t get into the philosophical stance reg. uselessness or “overblown”-ness of systemd, as

[Dnsmasq-discuss] [PATCH] forward.c: fix handling of truncated response

2024-09-30 Thread Rahul Thakur via Dnsmasq-discuss
r->nscount = htons(0); - header->arcount = htons(0); } if (!(header->hb3 & HB3_TC) && (!bogusanswer || (header->hb4 & HB4_CD))) -- 2.25.1 ___________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelley

Re: [Dnsmasq-discuss] [PATCH 1/1] forward.c: fix handling of truncated response

2024-09-29 Thread Rahul Thakur via Dnsmasq-discuss
Hi Simon, So what do you think of my reasoning for this patch? Do you agree? Best regards, Rahul Thakur From: Rahul Thakur Sent: 25 September 2024 15:29 To: Simon Kelley ; dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re: [Dnsmasq-discuss] [PATCH 1/1

[Dnsmasq-discuss] DNS resolving error

2024-09-29 Thread White, Phil via Dnsmasq-discuss
Hi All, I have a problem resolving a specific DNS record, and I wonder if anyone can give me a pointer to what is going on here? I have a gentoo linux server, running dnsmasq -- configured as a dhcp and dns server. DNSSEC is turned on. Most of the time it appears to work fine without any problem

[Dnsmasq-discuss] [PATCH 1/1] forward.c: fix handling of truncated response

2024-09-24 Thread Rahul Thakur via Dnsmasq-discuss
& (!bogusanswer || (header->hb4 & HB4_CD))) { -- 2.25.1 _______ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Regression in 2.90 when addn-hosts has an IPv4 but not an IPv6 address

2024-09-03 Thread Casey Tucker via Dnsmasq-discuss
en "NODATA-IPv6 / NOERROR / NXDOMAIN" with "ANSWER: 0", versus " record found" with "ANSWER: 1", versus " record not found, REFUSED". Cheers, -Casey On Sat, Aug 31, 2024 at 10:24 AM Sven Geuer wrote: > > Hi Casey, > > On Fri, 20

Re: [Dnsmasq-discuss] IPv6 resolve local only

2024-09-03 Thread Klaus Vink Slott via Dnsmasq-discuss
queries by dnsmasq. yeah As you might have seen in my answer to Petr Menšík, I found my bummer. I had a server= pointing to resolve my own domain on my local firewall. I overlooked it due to being in a file below /etc/dnsmasq.d/ I had totally forgotten about that, so when I stopped the DNS on

[Dnsmasq-discuss] Regression in 2.90 when addn-hosts has an IPv4 but not an IPv6 address

2024-08-30 Thread Casey Tucker via Dnsmasq-discuss
Hello, We've run into a regression between 2.89 and 2.90 that was introduced in https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=f5ef0f064c3f06b250a9eeda36dc239227658b00 which resolved the possible SIGSEGV reported in https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2

Re: [Dnsmasq-discuss] IPv6 resolve local only

2024-08-30 Thread Klaus Vink Slott via Dnsmasq-discuss
This answer came just in time, as I have just returned from holiday and was starting to consider if I should try out another dhcp-dns solution. On 30.08.2024 Petr Menšík wrote: Make sure (sub)domains served exclusively by dnsmasq are marked as local=/tier1.internal/. Thanks for pointing out

Re: [Dnsmasq-discuss] dnsmasq in docker container

2024-08-25 Thread Dominik Derigs via Dnsmasq-discuss
FWIW, the Pi-hole project embeds dnsmasq without any special docker alterations and is known to work fine in docker without restarting for months or even years non-stop without such issues. Also worth considering are issues with docker-proxy - maybe the interface goes down temporarily and the

Re: [Dnsmasq-discuss] Patch for IANA KSK 2024

2024-08-22 Thread Gary R. Schmidt via Dnsmasq-discuss
but generally we don't get our knickers in a twist over it. Cheers, GaryB-) _______ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Forwarding UDP requests to TCP, some other concerns

2024-08-21 Thread list-dnsmasq-discuss--- via Dnsmasq-discuss
Corey Minyard wrote on 2024-08-19 12:38pm: On Mon, Aug 19, 2024 at 1:56 PM Buck Horn via Dnsmasq-discuss wrote: On 19.08.24 18:38, Corey Minyard wrote: On Mon, Aug 19, 2024 at 8:58 AM Buck Horn via Dnsmasq-discuss wrote: It's not entirely clear from your description, but if your

Re: [Dnsmasq-discuss] Forwarding UDP requests to TCP, some other concerns

2024-08-19 Thread Buck Horn via Dnsmasq-discuss
On 19.08.24 18:38, Corey Minyard wrote: On Mon, Aug 19, 2024 at 8:58 AM Buck Horn via Dnsmasq-discuss wrote: It's not entirely clear from your description, but if your goal would be to have dnsmasq forward DNS requests to a DoT server, then dnsmasq can't do that

Re: [Dnsmasq-discuss] Forwarding UDP requests to TCP, some other concerns

2024-08-19 Thread Alex Malinovich via Dnsmasq-discuss
. I work around this by > forwarding the given domains to another running dnsmasq with filter- > set, but having that built-in would be really nice. Very much agreed. And I'd suggest it should be an option for the whole set of "filter-*" options. I have to filter HT

Re: [Dnsmasq-discuss] Forwarding UDP requests to TCP, some other concerns

2024-08-19 Thread Buck Horn via Dnsmasq-discuss
On 19.08.24 06:25, Corey Minyard wrote: > I have dnsmasq mostly working, but I'm having one big problem. It seems > that requests received from UDP are only forwarded to UDP, they cannot > be forwarded to TCP.  I'm running DNS over TLS on the server, so I have > to

Re: [Dnsmasq-discuss] CNAME not resolving for external domain

2024-08-18 Thread Buck Horn via Dnsmasq-discuss
On 17.08.24 22:24, Alex Malinovich via Dnsmasq-discuss wrote: I also own the public "foo.net" domain. (...) BUT, if I try the same thing with the foo.net domain, I get the CNAME record back, but it never resolves to an A record so the lookup fails: address=/root.foo.net/192.168.0

[Dnsmasq-discuss] CNAME not resolving for external domain

2024-08-17 Thread Alex Malinovich via Dnsmasq-discuss
ll -Q bar.foo.net root.foo.net. $ drill -Q root.foo.net 192.168.0.234 I intentionally override a bunch of my foo.net subdomains with 192.168.0.0/24 addresses internally and this is one of them. I've even tried telling dnsmasq it is authoritative for foo.net (using auth-server,host-record,auth-

Re: [Dnsmasq-discuss] patches

2024-08-17 Thread Dan Schaper via Dnsmasq-discuss
ate? Dan -- Original Message -- From "Geert Stappers" To dnsmasq-discuss@lists.thekelleys.org.uk Date 8/17/2024 11:05:25 AM Subject [Dnsmasq-discuss] patches On Sat, Jul 27, 2024 at 11:25:04AM +0200, Dominik Derigs via Dnsmasq-discuss wrote: Hey Simon, another patch ..

Re: [Dnsmasq-discuss] Patch for IANA KSK 2024

2024-08-16 Thread Gary R. Schmidt via Dnsmasq-discuss
GaryB-) _______ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] A segmentation fault occurred in dnsmasq

2024-08-07 Thread renmingshuai via Dnsmasq-discuss
d)) { - m->netid->next = state->tags; - state->tags = m->netid; + state->tags = dhcp_netid_create(m->netid->net, state->tags); } if (save != 0) -- 2.33.0 ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] IPv6 resolve local only

2024-08-05 Thread Klaus Vink Slott via Dnsmasq-discuss
Hi. I am new to dnsmasq and do not really care about IPv6 as our ISP does not support it. I am trying to replace the build in dhcp/dns in pfSense with a dnsmasq on a separate machine. Currently there is 3 Linux host on this vlan, on with dnsmasq. I have setup everything as I think it should

[Dnsmasq-discuss] ipset skbinfo support feature

2024-08-04 Thread Lucas via Dnsmasq-discuss
ks in advance. _______ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] A segmentation fault occurred in dnsmasq

2024-08-01 Thread renmingshuai via Dnsmasq-discuss
This issue is caused by dnsmasq incorrectly handling the client's tag information. It is not related to adding the opts item. This is a necessary issue, and the steps to reproduce it are as follows: 1. Run dnsmasq with --dhcp-hostsfile # dnsmasq --dhcp-hostsfile=/var/run/test_dhcp

[Dnsmasq-discuss] [PATCH] A segmentation fault occurred in dnsmasq

2024-08-01 Thread renmingshuai via Dnsmasq-discuss
This issue is caused by dnsmasq incorrectly handling the client's tag information. It is not related to adding the opts item. This is a necessary issue, and the steps to reproduce it are as follows: 1. Run dnsmasq with --dhcp-hostsfile # dnsmasq --dhcp-hostsfile=/var/run/test_dhcp

Re: [Dnsmasq-discuss] IPv6 and domain name with ntp-server option

2024-07-30 Thread Yeoh via Dnsmasq-discuss
> Hi Yeoh, > > On 28.07.24 23:42, Yeoh via Dnsmasq-discuss wrote: >> Does 'option:42' or 'option:ntp-server' support using IPv6 addresses or a >> domain name ? >> >> I mean instead of using an IP literal address we can instead specify a >

Re: [Dnsmasq-discuss] Feature request - log only once for dhcpdiscover ignored macs

2024-07-29 Thread Alex Malinovich via Dnsmasq-discuss
On Monday, July 29th, 2024 at 21:08, Salatiel Filho wrote: > Would it be possible to make that log for dhcpdiscover ignored macs be in > that "logged only once" mode that shows up for some dnsmasq events? I had a similar problem with my Lutron bridge spamming with DHCPv6

Re: [Dnsmasq-discuss] A segmentation fault occurred in dnsmasq

2024-07-29 Thread renmingshuai via Dnsmasq-discuss
Thanks for your reply. Unfortunately, this patch doesn't solve my issue. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] IPv6 and domain name with ntp-server option

2024-07-28 Thread Buck Horn via Dnsmasq-discuss
Hi Yeoh, On 28.07.24 23:42, Yeoh via Dnsmasq-discuss wrote: Does 'option:42' or 'option:ntp-server' support using IPv6 addresses or a domain name ? I mean instead of using an IP literal address we can instead specify a domain name that resolves to multiple IP'

[Dnsmasq-discuss] IPv6 and domain name with ntp-server option

2024-07-28 Thread Yeoh via Dnsmasq-discuss
Hi, Does 'option:42' or 'option:ntp-server' support using IPv6 addresses or a domain name ? I mean instead of using an IP literal address we can instead specify a domain name that resolves to multiple IP's (IPv4/IPv6). - Yeoh ______

Re: [Dnsmasq-discuss] A segmentation fault occurred in dnsmasq

2024-07-28 Thread Dominik Derigs via Dnsmasq-discuss
Hi, have you tried whether the most recent master commit PLUS the patch submitted by Erik Karlsson on April 29 fixes the issue as well? See https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q2/017561.html Concerning your observation about not crashing after adding a print

[Dnsmasq-discuss] A segmentation fault occurred in dnsmasq

2024-07-28 Thread renmingshuai via Dnsmasq-discuss
Hi, I have a problem with a Segmentation fault. The log is as follows: 024-07-24T17:06:00.540592+08:00 info kernel[-][25317.980044] dnsmasq[597243]: segfault at 9 ip 15257897bObe sp 7fffba533380 error 4 in libc.so.6 15257890c000+1710001 This Segmentation fault is triggered when dnsmasq

[Dnsmasq-discuss] [PATCH] Fix syscall param, sendmsg(msg.msg_control) pointing to uninitialised bytes

2024-07-27 Thread Dominik Derigs via Dnsmasq-discuss
ol_u; + } control_u = { 0 }; iov[0].iov_base = packet; iov[0].iov_len = len; -- 2.34.1 ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] New query type WALLET

2024-07-26 Thread Dominik Derigs via Dnsmasq-discuss
cla-07 */ { 32768, "TA" }, /* DNSSEC Trust Authorities [Sam_Weiler][http://cameo.library.cmu.edu/][ Deploying DNSSEC Without a Signed Root. Technical Report 1999-19, Information Networking Institute, Carnegie Mellon University, April 2004.] 2005-12-13*/ { 32769, "DLV" }, /*

Re: [Dnsmasq-discuss] How to NOT bind dnsmasq to lo?

2024-07-10 Thread Buck Horn via Dnsmasq-discuss
Hi Tim, On 10.07.24 21:55, Tim Tassonis wrote: Hi all However, I however would like to run a second instance of dnsmasq binding only to a tap0, for a virtual network (vde2) for some qemu virtual machines, and I can't seem to get that to work, as it always complains about 127.0.0.1 al

Re: [Dnsmasq-discuss] Blocking DHCPv6 requests from a specific client

2024-07-08 Thread Alex Malinovich via Dnsmasq-discuss
BE:EF:00:11 -j DROP _______ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Blocking DHCPv6 requests from a specific client

2024-07-08 Thread Alex Malinovich via Dnsmasq-discuss
On Sunday, July 7th, 2024 at 22:38, Alasdair Muckart via Dnsmasq-discuss wrote: > > > What are you running dnsmasq on? > > This is probably best dealt with at the OS firewall level rather than in > dnsmasq. This is on a router running asuswrt-merlin, so it's iptables

Re: [Dnsmasq-discuss] Blocking DHCPv6 requests from a specific client

2024-07-07 Thread Alasdair Muckart via Dnsmasq-discuss
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 What are you running dnsmasq on? This is probably best dealt with at the OS firewall level rather than in dnsmasq. Exactly how you do that depends on the underlying OS and the firewall it's running but if you know the MAC of the Lutron devi

[Dnsmasq-discuss] Blocking DHCPv6 requests from a specific client

2024-07-07 Thread Alex Malinovich via Dnsmasq-discuss
I have a Lutron RA2 Select repeater on my network using DHCP configuration (for IPv4, IPv6 is SLAAC) and it mostly works fine. Unfortunately, it's spamming dnsmasq with DHCPv6 information-requests once every second (in gross violation of the spec which states a lower limit of 600 second

Re: [Dnsmasq-discuss] Monthly Posting

2024-07-06 Thread Gary R. Schmidt via Dnsmasq-discuss
On 07/07/2024 05:40, CHOPPERGIRL via Dnsmasq-discuss wrote: Most of us are replying via the mailing list, and apparently the mailing list isn't very smart, and doesn't post our replies in the correct area if our mailing software doesn't "quote" them correctly.  I&#

Re: [Dnsmasq-discuss] Monthly Posting

2024-07-06 Thread CHOPPERGIRL via Dnsmasq-discuss
o I found the response to my simple dnsmasqquestion quite arrogant and hostile, and soI dumped dnsmasq and used a Windows dnsserver solution instead.  Sorry, Linux community. All I wanted to know was how to tell dnsmasqon the command line, how to pass it an argumentto use a DNS server ip address, instead o

Re: [Dnsmasq-discuss] Nonexistent AAAA records return NXDOMAIN instead of NODATA

2024-06-28 Thread Buck Horn via Dnsmasq-discuss
ample.com,10.1.2.3 host-record=bar,bar.example.com,10.1.2.4 Above 'domain-needed' would prevent that non-dot queries (e.g. for foo) would be forwarded upstream. Kind regards,     Buck ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@l

[Dnsmasq-discuss] How do you add a nameserver from the command line?

2024-06-28 Thread CHOPPERGIRL via Dnsmasq-discuss
My DD-WRT file system is mounted read only (squisFS and/or RAMfs),so I can not modify resolv.conf, dnsmasq.conf, or smartdns.conf However, from the DD-WRT gui interface I can pass dnsmasqcommand line arguments on startup via an edit text filed box. -->   How do I add name servers for dnsm

Re: [Dnsmasq-discuss] Nonexistent AAAA records return NXDOMAIN instead of NODATA

2024-06-27 Thread Buck Horn via Dnsmasq-discuss
On 27.06.24 22:13, Dimitry Andric wrote: In particular, this happens when dnsmasq serves a --local domain, and 'fixed' hosts are defined with --address entries having _only_ an IPv4 address. For example, if dnsmasq.conf contains: no-daemon log-queries domain=example.com

[Dnsmasq-discuss] New query type WALLET

2024-06-23 Thread Dominik Derigs via Dnsmasq-discuss
ing DNSSEC Without a Signed Root. Technical Report 1999-19, Information Networking Institute, Carnegie Mellon University, April 2004.] 2005-12-13*/ { 32769, "DLV" }, /* DNSSEC Lookaside Validation (OBSOLETE) [RFC8749][RFC4431] */ }; -- 2.34.1 ____

[Dnsmasq-discuss] [PATCH] Fix double free() corruption due to config

2024-06-17 Thread Dominik Derigs via Dnsmasq-discuss
Hey Simon, the attached patch fixes a double free() corruption leading to a crash during startup of dnsmasq. The crash can be reproduced by using a rev-server addresses with a prefix length != {8,16,24,32}, e.g. rev-server=192.168.0.0/25,home.mydomain.com The crash is caused by freeing too

Re: [Dnsmasq-discuss] string dhcp options

2024-06-11 Thread Matthias Lay via Dnsmasq-discuss
case of some variable-length options the length field is a constant but must still be specified. just seemed strange to me, to give a length AND a null terminated string in the dhcp options field. Thx for your clarification Greetz Matze ___ Dnsmasq

Re: [Dnsmasq-discuss] string dhcp options

2024-06-11 Thread Buck Horn via Dnsmasq-discuss
___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] string dhcp options

2024-06-11 Thread Matthias Lay via Dnsmasq-discuss
Am Tue, 11 Jun 2024 12:46:40 +0200 schrieb Matthias Lay : > dhcp-option=tag:2,option:66,"fake2quoted" sorry. typo dhcp-option=66,"fake2quoted" _______ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://

[Dnsmasq-discuss] string dhcp options

2024-06-11 Thread Matthias Lay via Dnsmasq-discuss
00 at the end of the string and in the length of the option. Looks suspicious to me. Dnsmasq version 2.90 Copyright (c) 2000-2024 Simon Kelley Compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-nftset auth no-cryptohash no-DNSSEC loop-det

[Dnsmasq-discuss] How to achieve multiple DHCP pools within a single broadcast domain?

2024-06-08 Thread David via Dnsmasq-discuss
bridge filter rules to restrict the DHCP traffic, but at least these are well-documented and narrow in scope. I’m concerned about overhead. I’d like to simplify. What I’m really looking for is some way to pass a ‘hint’ (aka tag) to dnsmasq for DHCP pool selection. dnsmasq cannot distinguish a

Re: [Dnsmasq-discuss] How to create /etc/resolv.conf after removing systemd-resolved?

2024-06-04 Thread Buck Horn via Dnsmasq-discuss
On 04.06.24 11:10, Chris Green wrote: Should I just manually edit /etc/resolv.conf or is there some better way of handling this? Your question seems not specific to dnsmasq, as dnsmasq is just a potential consumer of resolv.conf. You'd usually find a comment in that file hinting a

[Dnsmasq-discuss] interface-name potential bug

2024-05-31 Thread Ondrej Pirko via Dnsmasq-discuss
I am using dnsmasq 2.90 for captive portal besides other use cases and I've noticed that when I put into dnsmasq cfg file e.g. `interface-name=captive.apple.com,switch0.1` (this interface contains ipv6 LL address and `100.104.103.1/28`) I will be getting this on the client device (dnsma

Re: [Dnsmasq-discuss] Scripting with lua

2024-05-24 Thread White, Phil via Dnsmasq-discuss
On Wed, 15 May 2024 at 06:32, Geert Stappers wrote: > I've followed that URL and had to click deeper. > Now sharing the output of > $ curl --silent > https://raw.githubusercontent.com/whitepj/dnsmasq-lua/main/dhcp.lua Thanks Geert. Apologies -- it was my intention to keep the

[Dnsmasq-discuss] [PATCH] Add support for --dhcp-allowed-srvids option.

2024-05-21 Thread Marek Skrobacki via Dnsmasq-discuss
If the DHCP server is running inside a container or behind a load balancer, the DHCPREQUEST arriving at dnsmasq for processing may have a Server ID (option 54) configured with an IP address that is not assigned to the local interface. In this case, dnsmasq will check if the 'Server Ident

Re: [Dnsmasq-discuss] [PATCH] Update DNS records after pruning DHCP leases

2024-05-18 Thread Dominik Derigs via Dnsmasq-discuss
); lease_update_file(now); + lease_update_dns(0); } #ifdef HAVE_DHCP6 else if (daemon->doing_ra) ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsm

[Dnsmasq-discuss] [PATCH 0/1] Proposal for adding long option support (rfc3396)

2024-05-15 Thread Peter Kaestle via Dnsmasq-discuss
Hello, I worked on a solution to add support for long options into dnsmasq and want to share what I have come up with. I tested it successfully with busybox udhcpc. Looking forward to get feedback on this proposal. best regards, --peter; Peter Kaestle (1): dhcp protocol: adding long options

[Dnsmasq-discuss] [PATCH 1/1] dhcp protocol: adding long options support (rfc3396)

2024-05-15 Thread Peter Kaestle via Dnsmasq-discuss
PTION_SIZE : len; + +if ((p = free_space(mess, end, opt, l))) + memcpy(p, string, l); +else + break; + } } /* return length, note this only does the data part */ -- 2.45.0 _______ Dnsmasq-discuss mailing list Dnsmasq-discuss@li

[Dnsmasq-discuss] Scripting with lua

2024-05-14 Thread White, Phil via Dnsmasq-discuss
accessing the stored variables. Therefore, this is probably more of a query about lua than it is about dnsmasq. The man page states that the environment inherits a number of variables (example: DNSMASQ_TAGS) which I am trying to retrieve -- but my current approach is returning nil (eg. tags =

Re: [Dnsmasq-discuss] Use-after-free with DHCP + use-stale-cache

2024-05-13 Thread Dominik Derigs via Dnsmasq-discuss
hould or are there more places where a lease_update_dns(0) is missing? Alternatively, can there be dangling pointers left even after lease_update_dns has been run? Best regards, Erik Den mån 6 maj 2024 07:14Dominik Derigs via Dnsmasq-discuss skrev: Hey Simon, we found a bug resulting

[Dnsmasq-discuss] Use-after-free with DHCP + use-stale-cache

2024-05-05 Thread Dominik Derigs via Dnsmasq-discuss
s queried thereafter and use-stale-cache is enabled, dnsmasq accesses this dangling pointer and returns random data - often a string containing a few control characters, once dnsmasq even SEGFAULTed. Related dnsmasq.log: |May 5 19:00:00 dnsmasq[4395]: query[PTR] 141.2.168.192.in-addr.arpa from 127.0.0.

[Dnsmasq-discuss] confused about tag set (looking for !known control per vlan)

2024-04-24 Thread Brian Cook via Dnsmasq-discuss
.. I think I'm missing something simple.. Can someone offer some help? ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] Unexpected caching behavior when using --address

2024-04-24 Thread Dom Sekotill via Dnsmasq-discuss
ed by restoring the previous behavior with --local, as per the manpage. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] dnsmasq

2024-04-15 Thread Turritopsis Dohrnii Teo En Ming via Dnsmasq-discuss
Subject: dnsmasq Good day from Singapore, I am wondering if dnsmasq can be installed and configured as a full-fledged authoritative DNS Server? Regards, Mr. Turritopsis Dohrnii Teo En Ming Targeted Individual in Singapore ___ Dnsmasq-discuss

Re: [Dnsmasq-discuss] dhcp-range with ipv6 vlan not working?

2024-04-11 Thread Buck Horn via Dnsmasq-discuss
On 10.04.24 23:51, Robert Sharp wrote: I have set up dnsmasq to provide dhcpv6 addresses for my network using a /64 prefix delegated to the LAN interface (enp3s0) using dhcpcd. Everything works fine, so I am now trying to extend ipv6 to a vlan I have set up for my wifi clients. Again, dhcpcd has

Re: [Dnsmasq-discuss] dnsmasq & DDNS

2024-04-06 Thread Morgan Read via Dnsmasq-discuss
and the other what I understood - updating transient IPs to a domain name. But, neither of those seem relevant to dnsmasq, so I came to the conclusion the Fedora article was wrong. Petr, thanks. I now see that the article perhaps is not wrong because I guess the resolution services provided

Re: [Dnsmasq-discuss] Multicast Netlink Crash on gVisor Kernel

2024-04-05 Thread shamrock_sesame214--- via Dnsmasq-discuss
esday, March 19th, 2024 at 5:09 AM, Nicolas Cavallari - nicolas.cavallari at green-communications.fr wrote: > > > On 16/03/2024 10:09, shamrock_sesame214--- via Dnsmasq-discuss wrote: > > > Hello, > > > > I am attempting to run dnsmasq DNS resolver in gVisor. gVisor

Re: [Dnsmasq-discuss] How to confiure dnsmasq for IPv4 to IPv6 DNS proxy?

2024-04-05 Thread shamrock_sesame214--- via Dnsmasq-discuss
DNSMasq should automatically resolve names when it gets a DNS request for a device it registered over DHCP. Make sure to set the base name in your DHCP scopes. I believe it updates /etc/hosts too. This can be combined with IPv6 DHCPv6, but not all devices use DHCPv6, such as Android. Android

[Dnsmasq-discuss] dnsmasq & DDNS

2024-04-01 Thread Morgan Read via Dnsmasq-discuss
Hi Folks, I've been following this little how to: https://docs.fedoraproject.org/en-US/fedora-server/administration/dnsmasq/ Which says: 'Fedora Server Edition recommends the lightweight dnsmasq program to provide DHCP, DDNS and DNS caching service for a server and a small to me

Re: [Dnsmasq-discuss] Different behaviour with "interface=" on two almost identical systems

2024-03-28 Thread Buck Horn via Dnsmasq-discuss
On 28.03.24 14:28, Chris Green wrote: ... and another system, also running dnsmasq version 2.90:- chris@t470$ nmap 192.168.1.128 | grep 53 53/tcpopen domain chris@t470 So why are they acting differently and, possibly more to the point, how do I make dnsmasq listen only on

[Dnsmasq-discuss] Enquiry about default server

2024-03-26 Thread Elias LA via Dnsmasq-discuss
use instead: server=/gitlab.com/8.8.8.8 So why is not the '#' translating into the default server 8.8.8.8? Thanks, Elias._______ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailma

Re: [Dnsmasq-discuss] dump dynamic dns assignments

2024-03-21 Thread Buck Horn via Dnsmasq-discuss
On 21.03.24 04:33, Tim Tassonis wrote: What I wonder: Is there a way to find out what hostnames the dhcp server has assigned to what ip addresses dynamically? I know that dnsmasq registers them just fine, but is there a run-time access to that information? dnsmasq stores its currently active

[Dnsmasq-discuss] RFC 2136 DNS Update?

2024-03-20 Thread Ronan Pigott via Dnsmasq-discuss
Hi dnsmasq, So I searched around and found some very old discussions about supporting DNS Update in dnsmasq. It seems like the feeling was that since dnsmasq already gathered it's own information base from DHCP, it wasn't necessary to add DNS Update support for clients because we al

Re: [Dnsmasq-discuss] shortcuts for REFUSED / RCODE

2024-03-20 Thread Dominik Derigs via Dnsmasq-discuss
Dominik It seems like this behavior can be achieved in dnsmasq via the syntax local=/example.com/127.0.0.1 Great. Since we run this on routers (Tomato) the dsnamsq configuration file size matters. Bottom line: Could we have a shortcut char for REFUSED as well e.g. local/example.com/

Re: [Dnsmasq-discuss] dnsmasq does not catches AAAA requests to domains in --address with only IPv4 records

2024-03-19 Thread Buck Horn via Dnsmasq-discuss
On 19.03.24 20:38, Grundik wrote: But, if the record in --address is only specified as IPv4, then requests are still forwarded further, and I found no way to make dnsmasq to return NXDOMAIN instead (as it should do in first place, according to my understanding of documentation). Quoting

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-19 Thread Elias LA via Dnsmasq-discuss
domain). Original Message On Mar 18, 2024, 4:06 PM, Matus UHLAR - fantomas wrote: > On 18.03.24 14:21, Elias LA via Dnsmasq-discuss wrote: > Thanks. I see. So > the rule `server=/firebaseio.com/#` is sent to local > server 127.0.0.1 which > then blocks it because

Re: [Dnsmasq-discuss] Multicast Netlink Crash on gVisor Kernel

2024-03-18 Thread shamrock_sesame214--- via Dnsmasq-discuss
Re-sending previous email with HTML formatting disabled, my apologies. Control and standard test cases for issue reproduction listed below: A 'control' test case for the issue would be to launch dnsmasq in a typical Docker container. The program should launch normally and begin p

Re: [Dnsmasq-discuss] Multicast Netlink Crash on gVisor Kernel

2024-03-18 Thread shamrock_sesame214--- via Dnsmasq-discuss
Control and standard test cases for issue reproduction listed below: A 'control' test case for the issue would be to launch dnsmasq in a typical Docker container. The program should launch normally and begin parsing the config, etc. The `docker run` statement should contain --priv

Re: [Dnsmasq-discuss] [PATCH] Fix potential memory leak

2024-03-18 Thread Dan Schaper via Dnsmasq-discuss
-- Original Message -- From "Brian Haley" To "Geert Stappers" ; dnsmasq-discuss@lists.thekelleys.org.uk Date 3/18/2024 6:59:21 AM Subject Re: [Dnsmasq-discuss] [PATCH] Fix potential memory leak As an attempt to express that proposed patches get human attention

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Elias LA via Dnsmasq-discuss
- fantomas wrote: > On 18.03.24 12:29, Elias LA via Dnsmasq-discuss wrote: > > > Yes, I am aware about the documentation which you quoted (and which I > > quoted). But how do you explain that the domain `firebaseio.com` is being > > blocked by set 1 and NOT by set 2?

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Elias LA via Dnsmasq-discuss
`. But it is not happening, and the domain is being blocked! Sent with Proton Mail secure email. On Monday, 18 March 2024 at 11:12, Matus UHLAR - fantomas wrote: > On 18.03.24 09:41, Elias LA via Dnsmasq-discuss wrote: > > > In mydnsmasq.conffile, I have either one of two s

[Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Elias LA via Dnsmasq-discuss
Dear Dnsmasq team, I have a question which I hope someone can kindly clarify: In mydnsmasq.conffile, I have either one of two sets of rules: # Set 1: no-resolv server=8.8.8.8 server=/firebaseio.com/# address=/*.firebaseio.com/ # Set 2: no-resolv server=8.8.8.8 server=/firebaseio.com

[Dnsmasq-discuss] Multicast Netlink Crash on gVisor Kernel

2024-03-16 Thread shamrock_sesame214--- via Dnsmasq-discuss
Hello,  I am attempting to run dnsmasq DNS resolver in gVisor. gVisor is a hardened userspace kernel compatible with Kubernetes and Docker containers. At the moment, gVisor does not seem to support some routing features such as those found in linux/rtnetlink.h, including multicast related

Re: [Dnsmasq-discuss] config error is REFUSED (EDE: not ready) for dnsmasq version

2024-03-11 Thread Purushotham P via Dnsmasq-discuss
Can someone help me from this blocker? Thanks & Regards, Purushotham P From: Purushotham P Date: Friday, 23 February 2024 at 11:37 AM To: dnsmasq-discuss@lists.thekelleys.org.uk Cc: Saumya Singh Subject: config error is REFUSED (EDE: not ready) for dnsmasq version Hi Team, Whe

Re: [Dnsmasq-discuss] Test

2024-03-03 Thread Knud via Dnsmasq-discuss
sorry test again Have difficulties to get dnsmasq list mails throught spamfilter On 29.02.2024 13.30, Knud via Dnsmasq-discuss wrote: Only test mail As I having problems to receive mails from the list Knud ___ Dnsmasq-discuss mailing list Dnsmasq

Re: [Dnsmasq-discuss] DHCPv6 Not Working on Linux 6.6.13

2024-03-02 Thread Buck Horn via Dnsmasq-discuss
arned from your router. The favoured method of a client would depend on a client's OS. Linux and MacOS could do DHCPv6 or SLAAC early on, Windows first favoured DHCPv6, but supported SLAAC since Win 10 or 8.1, and Android does and only ever did SLAAC exclusively. Are you running your dnsmasq o

  1   2   3   4   5   6   7   8   9   >