Re: [Dnsmasq-discuss] iface_enumerate does not compile with gcc 15

2025-01-23 Thread Petr Menšík
Ah, great! I did not look back enough into history it seems. On 23. 01. 25 13:19, Nicolas Cavallari wrote: On 23/01/2025 12:29, Petr Menšík wrote: Hello everyone! Fedora just changed to gcc 15 in upcoming Fedora 42. And it seems dnsmasq is not able to compile [1][2] with the new compiler

[Dnsmasq-discuss] iface_enumerate does not compile with gcc 15

2025-01-23 Thread Petr Menšík
Hello everyone! Fedora just changed to gcc 15 in upcoming Fedora 42. And it seems dnsmasq is not able to compile [1][2] with the new compiler, like it could before. Example error is: dhcp.c: In function ‘dhcp_packet’: dhcp.c:320:49: error: passing argument 3 of ‘iface_enumerate’ from incompat

Re: [Dnsmasq-discuss] FOSDEM2025

2025-01-13 Thread Petr Menšík
It seems I won't be there this year. Planning remote attendance only. On 10. 01. 25 14:15, Geert Stappers wrote: Hi, What about a face to face meeting during FOSDEM2025? https://fosdem.org/2025/ Groeten Geert Stappers ___ Dnsmasq-discuss mai

Re: [Dnsmasq-discuss] [PATCH] Removed empty trailing lines

2024-11-19 Thread Petr Menšík
information in the empty trailing lines, say so. Expressing other possible reasons for keeping the empty lines is also good. Groeten Geert Stappers -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB

Re: [Dnsmasq-discuss] socket activation support (systemd)

2024-10-01 Thread Petr Menšík
here are any questions or concerns left, i’m more than happy to help. More readings (if interested) about this can be found here: - http://0pointer.de/blog/projects/the-biggest-myths (point 3 mentions socket activation) - http://0pointer.de/blog/projects/socket-activated-containers.html Thank you mi

Re: [Dnsmasq-discuss] [PATCH] dnsmasq 2.47 introduced a work-around for errant Windows behaviour, in that it did not assign IP addresses ending in .255 or .0 within the class c range even when using s

2024-10-01 Thread Petr Menšík
!config_find_by_address(daemon->dhcp_conf, addr)) { /* in consec-ip mode, skip addresses equal to the number of addresses rejected by clients. This -- Petr Menšík Software Engineer, RHEL Red Hat, https://ww

Re: [Dnsmasq-discuss] [PATCH] dnsmasq 2.47 introduced a work-around for errant Windows behaviour, in that it did not assign IP addresses ending in .255 or .0 within the class c range even when using s

2024-10-01 Thread Petr Menšík
the number of addresses rejected by clients. This -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.

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

2024-10-01 Thread Petr Menšík
{ > -  log_query(F_UPSTREAM, NULL, NULL, "truncated", 0); > -  header->ancount = htons(0); > -  header->nscount = htons(0); > -  header->arcount = htons(0); > -    } > > if  (!(header->hb3 & HB3_TC) && (!bogusanswer || (hea

Re: [Dnsmasq-discuss] IPv6 resolve local only

2024-08-30 Thread Petr Menšík
ferred_lft forever I guess it is most likely be down to the setup on the clients (openSUSE). But as I plan to roll a lot af clients, I would like to be able to keep the default setup. And when I was using the build in DNS in pfSense I had no problems like that. Any ideas? -- Petr Menšík

[Dnsmasq-discuss] Experimental python binding

2024-07-11 Thread Petr Menšík
C directly. It would get understood right away. PS: consider the same license as the project for them. Cheers, Petr -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB mkswig.sh Description: application/shellscript #!/usr/bin

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

2024-06-06 Thread Petr Menšík
works will improve its performance. It should work on every sane network. Consider lowering timeout and increasing attempts. options timeout:3 attempts:3 or timeout:2 attempts:4 might work better. Dnsmasq retries are driven by external clients, caching should reduce issues with it when network

Re: [Dnsmasq-discuss] Support DNS cookies

2024-06-06 Thread Petr Menšík
13:44:46 CET 2024 ;; MSG SIZE rcvd: 90 Regards, Tijs Van Buggenhout _______ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software

[Dnsmasq-discuss] [PATCH] Static analysis minor issue fixes

2024-05-31 Thread Petr Menšík
Hi! As part of our review of dnsmasq code, our code scanning tools revealed few warnings. Some of them are valid, although it does fix only more or less cosmetic fixes. Potentially emitting warnings in tools like Coverity scan. 3 small changes attached. Cheers, Petr -- Petr Menšík Software

Re: [Dnsmasq-discuss] dnsmasq

2024-05-07 Thread Petr Menšík
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 -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB

Re: [Dnsmasq-discuss] NXDOMAIN entries in addn-host file

2024-05-07 Thread Petr Menšík
option seems not to be working with domains defined in the addn-hosts files. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software

Re: [Dnsmasq-discuss] dnsmasq 2.90 reply truncated

2024-04-08 Thread Petr Menšík
ted" dnsmasq log message anymore. I can not judge if client should do anything else in this case thou.. Adam Pribyl On Tue, 12 Mar 2024, Petr Menšík wrote: The response seems correct and acceptable in size. It should not truncate, at least what I see. It should also retry with TCP when

Re: [Dnsmasq-discuss] RFC 2136 DNS Update?

2024-04-04 Thread Petr Menšík
ing support for this protocol in dnsmasq? Or other solutions? Cheers, Ronan ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software En

Re: [Dnsmasq-discuss] How to get dnsmasq to see changes in files in /etc/dnsmasq.d?

2024-04-04 Thread Petr Menšík
updated I want dnsmasq to notice any changes in the file. -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https

Re: [Dnsmasq-discuss] dnsmasq & DDNS

2024-04-04 Thread Petr Menšík
Thanks folks and have a good Easter Monday. M ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat, h

Re: [Dnsmasq-discuss] dnsmasq 2.90 reply truncated

2024-03-12 Thread Petr Menšík
ss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discu

Re: [Dnsmasq-discuss] Upgrade to [x]ubuntu 23.10 means dnsmasg can't read /run/NetworkManager

2024-02-09 Thread Petr Menšík
I know this is a slightly non-standard configuration but it has worked very nicely for me for some years. Can anyone suggest a way to fix this? Obviously /run/NetworkManager/no-stub-resolv.conf is created at every boot so the permissions will revert to 'too strict' every time I start th

Re: [Dnsmasq-discuss] Don't set up inotify watch on resolv.conf if --port=0

2024-02-08 Thread Petr Menšík
___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB

Re: [Dnsmasq-discuss] New option --no-ANY

2024-02-08 Thread Petr Menšík
t specified in DNS to provide all answers known. If anyone relies on it, that would be wrong too. I disagree with current proposal. On 06. 02. 24 18:00, Dominik Derigs via Dnsmasq-discuss wrote: RFC 8482 -- Petr Menšík Software Engineer, RHEL Red Hat,http://www.redhat.com/ PGP: DFCF908D

[Dnsmasq-discuss] [PATCH] Easier custom lua version

2024-01-24 Thread Petr Menšík
, but customization can be done just by make COPTS='-DHAVE_LUASCRIPT' LUA=lua. Cheers, Petr -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB From 2de2259472d64d36221bd7ab0efe03f4501f8620 Mon Sep 17 00:00:00 2001 From:

Re: [Dnsmasq-discuss] [PATCH] Introduce local-service=host specialization

2024-01-09 Thread Petr Menšík
nless anyone has an objection. Simon. -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB OpenPGP_0x4931CA5B6C9FC5CB.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital sign

[Dnsmasq-discuss] [PATCH] HTTPS and SVCB RFC update

2024-01-03 Thread Petr Menšík
Sending update of HTTPS and SVCB dns records. There is still no straightforward way to serve such records from dnsmasq (except --dns-rr), but at least update reference to final RFC it were assigned to it. Happy new year everyone! Cheers, Petr -- Petr Menšík Software Engineer, RHEL Red Hat

[Dnsmasq-discuss] [PATCH] Allow dns-rr type specified by name

2023-12-25 Thread Petr Menšík
could find clearer notation, I would be glad. Happy new year! 1. https://forum.openwrt.org/t/resolving-query-type-65-to-local-address-for-ios-clients-in-dnsmasq/179504 Cheers, Petr -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP

[Dnsmasq-discuss] FOSDEM 2024

2023-12-13 Thread Petr Menšík
will allow. Is anyone involved planning to be there as well? https://fosdem.org/2024/schedule/track/dns/ Cheers, Petr -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB OpenPGP_0x4931CA5B6C9FC5CB.asc Description: OpenPGP

Re: [Dnsmasq-discuss] DNSMasq as secondary server

2023-12-13 Thread Petr Menšík
l network are not supposed to be visible from the Internet. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] [PATCH] Introduce local-service=host specialization

2023-11-30 Thread Petr Menšík
g.uk/pipermail/dnsmasq-discuss/2021q4/015749.html 2. https://bugzilla.redhat.com/show_bug.cgi?id=1852373 3. https://issues.redhat.com/browse/RHEL-9516 -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB

Re: [Dnsmasq-discuss] dnsmasq: /#/ and error "config error is REFUSED (EDE: not ready)“

2023-11-28 Thread Petr Menšík
ding /etc/resolv.conf > dnsmasq: using nameserver 9.9.9.9#53 > dnsmasq: using nameserver 10.96.0.10#53 for domain svc.cluster.local > dnsmasq: ignoring nameserver 127.0.0.1 - local interface > dnsmasq: read /etc/hosts - 7 names > dnsmasq: query[A] perdu.com <http://perdu.co

Re: [Dnsmasq-discuss] [PATCH] Refuse to start with EADDRINUSE in --bind-dynamic mode

2023-11-25 Thread Petr Menšík
temd can provide autorecovery with smart settings. Do we have a way to specify I do not require TCP listening socket for DNS? It should be clearly discouraged, but for some kinds of tests it might be acceptable. Cheers, Petr On 23/11/2023 11:13, Petr Menšík wrote: To fix problem with multiple

Re: [Dnsmasq-discuss] Confused about simple subdomain authoritative server (re: home network)

2023-11-23 Thread Petr Menšík
4 server=8.8.8.8 auth-server=server.home.mydomain.com <http://server.home.mydomain.com>,enp2s0f0 auth-zone=home.mydomain.com <http://home.mydomain.com>,192.168.1.0/24 host-record=server.home.mydomain.com,192.168.1.50 <http://192.168.1.0/24 host-record=server.home.mydomain.c

Re: [Dnsmasq-discuss] [PATCH] Refuse to start with EADDRINUSE in --bind-dynamic mode

2023-11-23 Thread Petr Menšík
ERBIND) || errno == EADDRINUSE)     die(s, daemon->addrbuff, EC_BADNET);     }    else Cheers, Simon. On 22/11/2023 19:27, Petr Menšík wrote: Hello everyone, I have received error report RHEL-16398 [1], which I think makes sense to fix even in the lastest version. I believe i

[Dnsmasq-discuss] [PATCH] Refuse to start with EADDRINUSE in --bind-dynamic mode

2023-11-22 Thread Petr Menšík
fatal the same way as with --bind-interfaces. Would you find any other errors, which should be hidden or made fatal? What would you think of those changes? 1. https://issues.redhat.com/browse/RHEL-16398 -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP

Re: [Dnsmasq-discuss] Captive Portals check

2023-11-13 Thread Petr Menšík
ut we are still far from that. Thanks, Evgeny Cheers, Petr 1. https://github.com/InfrastructureServices/dnsconfd -- Petr Menšík Software Engineer, RHEL Red Hat,http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB OpenPGP_0x4931CA5B6C9FC5CB.asc Description: OpenPGP public k

Re: [Dnsmasq-discuss] [PATCH] Add a flag to customise MAX_PROCS

2023-11-01 Thread Petr Menšík
e kindly let me know what you think. Kind regards, Damian Sawicki ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHE

[Dnsmasq-discuss] [PATCH] Re: Issues with dnsmasq under NM and domain redirection: REFUSED

2023-10-31 Thread Petr Menšík
enumerate_interfaces(0); call in this case as well. I have created for it bug #2247269 [1] for tracking this. 1. https://bugzilla.redhat.com/show_bug.cgi?id=2247269 On 16. 10. 23 15:02, Petr Menšík wrote: Hello everyone. Today I have returned to work, where I am running dnsmasq 2.89 on my Fedora

[Dnsmasq-discuss] Issues with dnsmasq under NM and domain redirection: REFUSED

2023-10-16 Thread Petr Menšík
this. I wonder whether it would make sense to call it explicitly after local_bind failure. Because full journal I do not have details about interface changes anymore: journalctl -xeu NetworkManager | grep 'failed to bind server socket to enp9s0u1' |

Re: [Dnsmasq-discuss] Syntax for multiple listen addresses

2023-07-17 Thread Petr Menšík
page somewhere but I can't find it. If dnsmasq is to listen on more than one address how do you put this in the configuration file? I.e. is it:- listen-address=192.168.1.2,127.0.0.1 or is it:- listen-address=192.168.1.2 listen-address=127.0.0.1 Or will either work? -- P

Re: [Dnsmasq-discuss] Problem with 127.0.1.1 versus 127.0.0.1

2023-07-17 Thread Petr Menšík
Green wrote: On Sun, Jul 16, 2023 at 11:58:38PM +0200, Petr Menšík wrote: I think you have failed to show us what is in /etc/resolv.conf on the machine, which is running host command. It's specified in /etc/dnsmasq.conf:- resolv-file=/run/NetworkManager/no-stub-resolv.

Re: [Dnsmasq-discuss] Problem with 127.0.1.1 versus 127.0.0.1

2023-07-16 Thread Petr Menšík
all. The /etc/default/dnsmasq file just has:- ENABLED=1 CONFIG_DIR=/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new So why do I get that timeout error from the 'host' coommand? It's as if dnsmasq on the local machine isn't listening on 127.0.0.1. Does it only listen

Re: [Dnsmasq-discuss] Implications of raising dns-forward-max

2023-07-03 Thread Petr Menšík
_ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat,http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB __

Re: [Dnsmasq-discuss] Do we have good way to register SLAAC clients?

2023-07-02 Thread Petr Menšík
s still working for a Chromecast and Nest Audio, but not the Android phones. This isn't a good solution, but it's the best I've come up with. Simon. -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7

Re: [Dnsmasq-discuss] Why does the dnsmasq routing feature require a subnet prefix length of 64?

2023-06-20 Thread Petr Menšík
e the reason? -- Petr Menšík Software Engineer, RHEL Red Hat,http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/lis

Re: [Dnsmasq-discuss] Static DHCP clients are not answered for in DNS requests

2023-06-20 Thread Petr Menšík
1 dnsmasq: 147 127.0.0.1/53500 DHCP mediapi is 192.168.10.203 dnsmasq: 171 127.0.0.1/56905 query[A] proxy from 127.0.0.1 dnsmasq: 171 127.0.0.1/56905 config proxy is NODATA-IPv4 How do I get the static IP hosts to be resolved? This used to work, and I'm not sure what's changed. -- Petr

Re: [Dnsmasq-discuss] Do we have good way to register SLAAC clients?

2023-06-09 Thread Petr Menšík
like to have some names for all connected devices in my network, without a need to register them manually. 1. https://www.iana.org/assignments/icmpv6-parameters/icmpv6-parameters.xhtml#icmpv6-parameters-5 -- Petr Menšík Software Engineer, RHEL Red Hat,http

Re: [Dnsmasq-discuss] [PATCH] TCP client timeout setting

2023-06-08 Thread Petr Menšík
dress to about 8 seconds, which is mouch more sensible. Simon. -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.o

Re: [Dnsmasq-discuss] Test suite for RFC validation

2023-06-07 Thread Petr Menšík
. ( Reply-To: is set to accomodate that ) On Fri, May 19, 2023 at 12:42:24PM +0200, Petr Menšík wrote: On 5/3/23 06:23, shashikumar Shashi wrote: On Tue, May 2, 2023 at 4:05 AM Simon Kelley wrote: Thanks for the report. I've just pushed a code change which improves the checki

[Dnsmasq-discuss] Do we have good way to register SLAAC clients?

2023-06-07 Thread Petr Menšík
Petr 1. https://lists.fedoraproject.org/archives/list/de...@lists.fedoraproject.org/message/Y4FBSNAO2NRWB3YAY6YWE5767ORZRSOY/ 2. https://www.rfc-editor.org/rfc/rfc2136 -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4

Re: [Dnsmasq-discuss] v6 to v4 switch on fail over on Strict Order

2023-06-02 Thread Petr Menšík
istinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat,https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/m

Re: [Dnsmasq-discuss] [PATCH] TCP client timeout setting

2023-05-31 Thread Petr Menšík
Did just a basic testing, but those changes improve tested situation. What do you think about it? Cheers, Petr On 26. 05. 23 18:19, Simon Kelley wrote: On 25/05/2023 20:32, Petr Menšík wrote: This problem is best tested by an example, taken from [2] but a bit modified. Let's create he

Re: [Dnsmasq-discuss] DNSMASQ DHCP Options for CAPPORT or RFC8908 [PATCH]

2023-05-30 Thread Petr Menšík
Florian Baaske via Dnsmasq-discuss wrote: Hi Pert, thanks for the help. Much appreciated. I found something in regards to ISC as the DHCP server and thought that DNSMASQ might have the same feature. BR Florian On Fri, May 26, 2023 at 12:26 PM Petr Menšík <mailto:pemen...@redhat.com>

Re: [Dnsmasq-discuss] DNSMASQ DHCP Options for CAPPORT or RFC8908 [PATCH]

2023-05-26 Thread Petr Menšík
appreciated. BR Florian ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat,https://www.redhat.com/ PGP

Re: [Dnsmasq-discuss] dhcp-lease-max is only for DHCPv4?

2023-05-25 Thread Petr Menšík
uk/cgi-bin/mailman/listinfo/dnsmasq-discuss> ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss ___ Dn

Re: [Dnsmasq-discuss] [PATCH] TCP client timeout setting

2023-05-25 Thread Petr Menšík
is problem? Cheers, Petr [2] https://bugzilla.redhat.com/show_bug.cgi?id=2160466#c6 [3] https://bugzilla.redhat.com/show_bug.cgi?id=2160466#c13 On 19. 05. 23 13:40, Petr Menšík wrote: When analysing report [1] for non-responding queries over TCP, I have found forwarded TCP connections have quite high timeo

[Dnsmasq-discuss] [PATCH] TCP client timeout setting

2023-05-19 Thread Petr Menšík
https://bugzilla.redhat.com/show_bug.cgi?id=2160466 -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB From c02cfcb0a358e04636ffd2bcc595860b25b3a440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 17 May 20

Re: [Dnsmasq-discuss] dnsmasq sending advertise packets for the packet containing server id

2023-05-19 Thread Petr Menšík
scuss ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat,https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4

[Dnsmasq-discuss] [PATCH] TCP client timeout setting

2023-05-18 Thread Petr Menšík
https://bugzilla.redhat.com/show_bug.cgi?id=2160466 -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB From c02cfcb0a358e04636ffd2bcc595860b25b3a440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 17 May 20

Re: [Dnsmasq-discuss] Filtering non-latin1 or non-ASCIII dns requests?

2023-05-11 Thread Petr Menšík
Message- From: Dominik Derigs Sent: Thursday, May 11, 2023 11:40 AM To: Petr Menšík ; dnsmasq-discuss@lists.thekelleys.org.uk; B@us Subject: Re: [Dnsmasq-discuss] Filtering non-latin1 or non-ASCIII dns requests? Hey Burton and Petr, On Wed, 2023-05-10 at 21:12 -0500, B@us wrote: > doma

Re: [Dnsmasq-discuss] Need help on configuring dnsmasq

2023-05-11 Thread Petr Menšík
api.example.com=valid_address example.com=hijack_address See manual page for actual syntax. Karma bonus points for sharing what works. Regards Monthly Posting -- https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2023q2/017067.html -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.

Re: [Dnsmasq-discuss] Filtering non-latin1 or non-ASCIII dns requests?

2023-05-11 Thread Petr Menšík
way to translate domains that don’t match \.[A-Za-z0-9]\. to 127.0.0.1? Thanks! -- Petr Menšík Software Engineer, RHEL Red Hat,https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss

Re: [Dnsmasq-discuss] Filtering non-latin1 or non-ASCIII dns requests?

2023-05-11 Thread Petr Menšík
which looks a lot like the letter “a”. Is there an easy way to translate domains that don’t match \.[A-Za-z0-9]\. to 127.0.0.1? Thanks! -- Petr Menšík Software Engineer, RHEL Red Hat,https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9

Re: [Dnsmasq-discuss] Implement --no-dns-interface?

2023-05-02 Thread Petr Menšík
cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys

Re: [Dnsmasq-discuss] proxy-dnssec, how does it work (with unbound as upstream)

2023-04-19 Thread Petr Menšík
On 17. 04. 23 15:57, Simon Kelley wrote: On 17/04/2023 01:10, Petr Menšík wrote: I do not understand why should be proxy-dnssec caching unreliable. It should be as simple as storing AD bit from the reply in cache entry. I expect just extra bit is something we can afford. I explained this

Re: [Dnsmasq-discuss] Confusion about "no address range available for DHCPv6 request via ..."

2023-04-19 Thread Petr Menšík
sidering my question. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E5299

[Dnsmasq-discuss] [PATCH] DBus watchers change can trigger crash

2023-04-17 Thread Petr Menšík
?id=2185878 Cheers, Petr -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB From 7abc1f58988b1f299ce1dd008c48890314f3581b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Thu, 13 Apr 2023 14:31:22 +0200 Subj

Re: [Dnsmasq-discuss] proxy-dnssec, how does it work (with unbound as upstream)

2023-04-16 Thread Petr Menšík
machine always provide the correct status (SECURE), while site visits, using a browser provide inconsistent statuses (SECURE / INSECURE) I assume dig replies are also cached... Again, thank you both for your interest in this, your valuable time and effort. -- Petr Menšík Software Engineer, RHEL Red H

Re: [Dnsmasq-discuss] "no address range available for DHCP request via br0" when using for IPv6 RA

2023-04-11 Thread Petr Menšík
> >     ___ >     Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk >     <mailto:Dnsmasq-discuss@lists.thekelleys.org.uk> > https://lists

Re: [Dnsmasq-discuss] dnsmasq reverse auth zone transfers

2023-04-03 Thread Petr Menšík
leys.org.uk/cgi-bin/mailman/listinfo/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] [PATCH] Report filtered A or AAAA records via EDE code

2023-03-31 Thread Petr Menšík
on this! I already started testing (using the long command above) and will report any oddities I come across. Best, Dominik -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dns

Re: [Dnsmasq-discuss] Allow IP address in nftset

2023-03-30 Thread Petr Menšík
n Sun, Mar 26, 2023 at 1:15 PM Kurt Fitzner via Dnsmasq-discuss wrote: Is there a way to have dnsmasq support the use of IP addresses in nftset directives?  I cannot get it to work, though I can't see any reason why it shouldn't. Thanks. Kurt Fitzner -- Petr Menšík Software En

Re: [Dnsmasq-discuss] DNSMASQ on Ubuntu VirtualBox.

2023-03-22 Thread Petr Menšík
om/192.168.2.50 # address=/www.stillanotherdomain.ch/192.168.2.50 # address=/stillanotherdomain.ch/192.168.2.50 I am not very experienced with DNS servers, so can you possible point me in the right direction if you see an error. Thanks Paul -- Petr

Re: [Dnsmasq-discuss] [PATCH] Report filtered A or AAAA records via EDE code

2023-03-21 Thread Petr Menšík
asking on dnsop for opinions would not hurt. Cheers, Petr -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.the

Re: [Dnsmasq-discuss] [RFC PATCH v3] Add support for blocking A or AAAA queries per domain

2023-03-21 Thread Petr Menšík
ret_err(gen_err); + + if (!lastdomain || cur_domain == lastdomain) + break; + + cur_domain += strlen(cur_domain) + 1; + } + } + else while ((flags & SERV_LITERAL_ADDRESS) || parse_server_next(&sdetails)) {

Re: [Dnsmasq-discuss] Picking up the patches

2023-03-17 Thread Petr Menšík
g you. Patch looks fine. Applied to git repo. Cheers, Simon. -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk

[Dnsmasq-discuss] [PATCH] Report filtered A or AAAA records via EDE code

2023-03-16 Thread Petr Menšík
G1pokOFOOhlYQQHhglgfu6 mgNJnFrHUs3M+JNBNyAay42aSSDt5gXcvk77nx32uWv40pfknU7wH2Xc rP4= [1] https://datatracker.ietf.org/doc/draft-ietf-dnsop-structured-dns-error/ -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB From acb66a570a5e338a79160a8dd2b9e072ab8c5a81 Mon Sep 1

Re: [Dnsmasq-discuss] State of blocking type=65 requests?

2023-03-16 Thread Petr Menšík
on been rejected already? (I'm happy to send a patch if not?) Thanks Ed W ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software

Re: [Dnsmasq-discuss] Is leasquery supported in Dnsmasq

2023-03-14 Thread Petr Menšík
list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing

[Dnsmasq-discuss] [PATCH] Value stored to 'outmsgtype' is never read

2023-03-14 Thread Petr Menšík
b39 2. https://bugzilla.redhat.com/show_bug.cgi?id=2178069 -- Petr Menšík Software Engineer, RHEL Red Hat,http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB From 198f1971d80692582eb3206632873295ea725556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Tue, 1

Re: [Dnsmasq-discuss] consider adding a `dnsmasq --no-read-or-load-any-config` feature?

2023-03-13 Thread Petr Menšík
/raw/ ~J -- // ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat,https://www.redhat.com/ PGP

Re: [Dnsmasq-discuss] dnsmasq (pihole) caching of HTTPS requested

2023-01-31 Thread Petr Menšík
ft status but it's used in the wild rather frequently. https://developer.mozilla.org/en-US/docs/Glossary/https_rr https://blog.cloudflare.com/speeding-up-https-and-http-3-negotiation-with-dns/ Best, Dan -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.

[Dnsmasq-discuss] FOSDEM meeting

2023-01-30 Thread Petr Menšík
forward to meet anyone. Cheers, Petr [1] https://fosdem.org/2023/ [2] https://fosdem.org/2023/schedule/track/dns/ -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] Add run-time option to disable CHAOS TXT records

2023-01-03 Thread Petr Menšík
the need for recompiling. I wish you some nice and hopefully relaxing Christmas days! Best regards, Dominik ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Dynamic address config?

2022-11-28 Thread Petr Menšík
d to . A key pair can be specified when creating VM on cloud, but I can not ask every tester add my ssh key pair when creating VM. Petr Menšík 于2022年11月25日 周五19:52写道: Did you know that dnsmasq registers all hosts by their name, if they send their own hostname when requesting DHCP

Re: [Dnsmasq-discuss] v2.88rc2 segmentation fault with config "local=//" [PATCH]

2022-11-25 Thread Petr Menšík
___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB From 1a6eba5f3972efe31f1a03d33

Re: [Dnsmasq-discuss] [PATCH] Optimize speed on massive server=/.../... records

2022-11-25 Thread Petr Menšík
discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB From 11fe9dd86740865ebd6911a3a2ccdaa6b943d043 Mon

Re: [Dnsmasq-discuss] Dynamic address config?

2022-11-25 Thread Petr Menšík
_ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat,https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB __

Re: [Dnsmasq-discuss] dnsmasq mishandles some cases when bad dns response packet is received

2022-11-24 Thread Petr Menšík
asq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/l

Re: [Dnsmasq-discuss] dnsmasq mishandles some cases when bad dns response packet is received

2022-11-22 Thread Petr Menšík
doubt we can make reasonable filter on dnsmasq side. On 19. 11. 22 0:12, Geert Stappers via Dnsmasq-discuss wrote: On Wed, Nov 16, 2022 at 11:15:08AM +0800, zhangjiangyu via Dnsmasq-discuss wrote: Hi, On Mon, Nov 15, 2022 at 8:15:00PM +0800, Petr Menšík wrote: Interesting tests. But dnsmasq is

Re: [Dnsmasq-discuss] [PATCH] Make ECC-GOST optional only

2022-11-21 Thread Petr Menšík
course in this case my previous patch is not needed for anything, because yours fixes it in a better way. Just take a look at this patch. Thanks! Petr On 11/16/22 18:23, Simon Kelley wrote: On 10/11/2022 17:02, Petr Menšík wrote: Hi! I were testing my builds on rootcanary.org test, where

Re: [Dnsmasq-discuss] dnsmasq mishandles some cases when bad dns response packet is received

2022-11-15 Thread Petr Menšík
s can rely on forwarder's checks. Regards, Petr [1] https://linux.die.net/man/1/ldns-testns On 11/12/22 03:30, ZhangJiangyu 张江瑜 via Dnsmasq-discuss wrote: The rcode of the dnsmasq returned -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.

Re: [Dnsmasq-discuss] [PATCH] Make ECC-GOST optional only

2022-11-15 Thread Petr Menšík
Oh, I think that were just typo when editing that file. Of course shouln't be there. Attached fixed patch. On 11/13/22 14:44, Geert Stappers via Dnsmasq-discuss wrote: On Thu, Nov 10, 2022 at 06:02:44PM +0100, Petr Menšík wrote: Hi! I were testing my builds on rootcanary.org test,

[Dnsmasq-discuss] [PATCH] Make ECC-GOST optional only

2022-11-10 Thread Petr Menšík
implementations return already insecure status - not implemented algorithm. This change makes the same for dnsmasq. Opinions on that? Cheers, Petr -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB From

[Dnsmasq-discuss] [PATCH] Offer alternative DHCPv6 address if requested is taken

2022-10-21 Thread Petr Menšík
/rpms/dnsmasq/-/blob/c9s/dnsmasq-2.86-dhcpv6-client-arch.patch 3. https://bugzilla.redhat.com/show_bug.cgi?id=2002871 4. https://bugzilla.redhat.com/show_bug.cgi?id=1998448 -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB

Re: [Dnsmasq-discuss] [PATCH] Offer alternative DHCPv6 address if requested is taken

2022-10-21 Thread Petr Menšík
Ah, found reference to the original thread: https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q3/015640.html It has subject: [PATCH] DHCPv6 - network booting 'address in use' It was neither refused or merged, so I like it to be reviewed. On 10/21/22 12:25, Petr Menšík

Re: [Dnsmasq-discuss] DNSSEC Enable with Centos 7

2022-09-27 Thread Petr Menšík
I would suggest upgrading to CentOS 8 if possible. That version has already DNSSEC support built-in. If not possible, consider rebuilding CentOS 8 or CentOS 9 dnsmasq package from source. Another way might be just adding COPTS+=-DHAVE_DNSSEC to rhel7 srpm and rebuild. Using rpm-build -bb *.sp

[Dnsmasq-discuss] [PATCH] Introduce whine_realloc

2022-07-18 Thread Petr Menšík
enough. It might also slightly improve performance handling sockets, because it reduces copying done on socket listener adding. Just improvement without adding any other feature. Cheers, Petr -- Petr Menšík Software Engineer, RHEL Red Hat, http://www.redhat.com/ PGP

Re: [Dnsmasq-discuss] patchwork

2022-07-18 Thread Petr Menšík
On 17. 07. 22 14:35, Geert Stappers via Dnsmasq-discuss wrote: Previous-Subject: Re: [Dnsmasq-discuss] [PATCH] Create temporary leases for DHCPOFFER actions In-Reply-To: On Fri, Jul 15, 2022 at 10:54:28PM +0200, Petr Menšík wrote: On 7/13/22 19:20, Geert Stappers via Dnsmasq-discuss wrote

Re: [Dnsmasq-discuss] [PATCH] Create temporary leases for DHCPOFFER actions

2022-07-15 Thread Petr Menšík
possible mark them merged automagically. But haven't found enough free time to play with that. Sort of external pull requests, which can be linked to bugs and tracked progress, if any. On 7/13/22 19:20, Geert Stappers via Dnsmasq-discuss wrote: On Fri, Jul 08, 2022 at 10:26:35PM +0200, Petr M

  1   2   3   4   >