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

2024-06-28 Thread Buck Horn via Dnsmasq-discuss
In order to restore pre-2.86 behaviour, the documentation explicitly directs you to > (...) use the configuration --address=/example.com/1.2.3.4 --local=/example.com/ Note that address and local literals match, which they don't do in your configuration. But I agree that NXDOMAIN being answered

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

Re: [Dnsmasq-discuss] string dhcp options

2024-06-11 Thread Buck Horn via Dnsmasq-discuss
Hi Matthias, as far as RFCs are concerned, your observation seems valid. RFC 951 section 3 (Packet Format) requires the boot file name (as provided by option dhcp-boot) to be a null terminated string. RFC 2132 section 9.4 ff.(TFTP server name and Bootfile name) define the respective parameters

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 at its

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] 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

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

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] DHCPv6 Not Working on Linux 6.6.13

2024-03-02 Thread Buck Horn via Dnsmasq-discuss
On 28.02.24 11:29, Robert Sharp wrote: Unfortunately, I cannot seem to get DHCPv6 to work, which I believe I need in order to be able to look up hosts using DNS. It's quite possible you would not need DHCPv6 at all. The DNS protocol is oblivious to the way it gets transported: A DNS server

Re: [Dnsmasq-discuss] DHCP packet received on enp6s0 which has no address

2024-01-04 Thread Buck Horn via Dnsmasq-discuss
On 04.01.24 09:46, Masin wrote: Hi Buck, thanks for your hints. Sadly, they don't work. 3. Januar 2024 18:48, "Buck Horn via Dnsmasq-discuss" schrieb: > (...) > Regarding your configuration: Did you try a configuration with just listen-address and bind-interfaces, w

Re: [Dnsmasq-discuss] DHCP packet received on enp6s0 which has no address

2024-01-03 Thread Buck Horn via Dnsmasq-discuss
On 03.01.24 16:12, Masin wrote: In the log I got DHCP packet received on enp6s0 which has no address That message isn't necessarily related to your attempt of having dnsmasq and systemd-resolved coexist (however, your mentioning of IPv4 LLAs could mean it is). It tells you that your enp6s0

Re: [Dnsmasq-discuss] Does the --interface option to dnsmasq also apply to incoming broadcast DHCP requests?

2023-11-30 Thread Buck Horn via Dnsmasq-discuss
On 30.11.23 00:09, Chris Friesen via Dnsmasq-discuss wrote: I was just wondering whether the --interface and --except-interface options to dnsmasq would also apply to messages like DHCPDISCOVER and DHCPREQUEST Yes. You may also want to further tune usage via '--no-dhcp-interface' (or maybe

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

2023-06-29 Thread Buck Horn
Hi Eric, On 28.06.2023 03:35:38, "Eric Fahlgren" wrote: A couple posts on the OpenWrt forum have indicated that they are having DNS issues that are resolved by raising the forward limit from OpenWrt's default of 150 to 500. dns-forward-max=500 Assuming that there are indeed a lot of

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

2023-05-08 Thread Buck Horn
On 08.05.2023 15:00:22, "public1020" wrote: Thanks, dnsmasq does not support this feature. Why would you think so when you have been pointed to the correct answer from the docs? Matus UHLAR even quoted the decisive sentence for you: it does and the answer is listed in dnsmasq manual

Re: [Dnsmasq-discuss] Defending IP address

2023-05-07 Thread Buck Horn
On 06.05.2023 20:17:22, "A C" wrote: One thing I'd like to point out is that the documentation demonstrating setting a static IP using dhcpcd.conf is not from the Raspberry Pi foundation but from a lot of other Rasberry Pi blogs online. Setting a static IP address on-device via

Re: [Dnsmasq-discuss] Defending IP address

2023-05-05 Thread Buck Horn
On 05.05.2023 14:32:12, "Matus UHLAR - fantomas" wrote: On 05.05.23 13:33, Johan Vromans wrote: All docs tell me to set the static address in the /etc/dhcpcd.conf, this is confusing. I've now disabled dhcpcd and put the static address in /etc/network/interfaces. you use dhcpd to configure

Re: [Dnsmasq-discuss] Behavior on DHCP denied

2023-04-19 Thread Buck Horn
Yes this is proxy ARP in https://en.wikipedia.org/wiki/Proxy_ARP. HostAPd has an option called proxy_arp which setups up proxy_arp with additional requirements to meet the Hotspot 2.0 standards. It comes built in with a couple of snoopers, including a DHCP snooper to configure proxy_arp

Re: [Dnsmasq-discuss] DHCP range for hostnames containing string

2023-01-23 Thread Buck Horn
On 23.01.2023 10:28:50, Craig Wright wrote: I have currently: dhcp-range=192.168.0.2,192.168.0.10,255.255.255.0,12h dhcp-range=tag:mbdevices,192.168.0.50,192.168.0.60,255.255.255.0,12h dhcp-range=tag:!known,192.168.0.11,192.168.0.20,255.255.255.0,12h and have tried each of the lines:

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

2023-01-18 Thread Buck Horn
On 06.01.2023 04:33:39, Peter Tirsek wrote: This patch extends the `--address` option to accept two new special address, `!4` and `!6`, which will cause the server to block A or queries for the specified domain(s), respectively. This can be useful in situations where IPv6 connectivity is

Re: [Dnsmasq-discuss] [PATCH] Don't advertise a default v6 route with no routeable prefixes

2023-01-14 Thread Buck Horn
On 14.01.2023 12:40:18, Chris Webb wrote: If we are advertising local (ULA) prefixes but no globally-routeable prefixes, we should similarly not configure clients with a default route. Set the router lifetime to zero in this case too. I disagree here. While ULAs are not routable on the

Re: [Dnsmasq-discuss] Dynamic address config?

2022-11-26 Thread Buck Horn
On 23.11.2022 06:47:27, Feng Shao wrote: There are a bunch of machines in our lab, and we normally don't have DNS records configured for them, only accessing by IP. In order to ssh to them with key auth, I have a config in my .ssh/config like Host *.mylab User root IdentityFile

Re: [Dnsmasq-discuss] URIBL_BLOCKED with dnsmasq and server options

2022-08-30 Thread Buck Horn
On 30.08.2022 21:09:33, Jelle de Jong wrote On 8/30/22 17:41, Buck Horn wrote: You could start by giving the following line a try: server=/uribl.com/ I tried this, but that is not working, as expected as the mirrors are not DNS resolving mirrors but just alternatives for uribl.com as far

Re: [Dnsmasq-discuss] URIBL_BLOCKED with dnsmasq and server options

2022-08-30 Thread Buck Horn
On 18.08.22 11:08, Jelle de Jong wrote: > > I understand dnsmasq is an forwarding dns server and I was wondering > if there is a way to configure it to do dns lookups using it own IP > external address instead of the server forwarders, maybe just for URIBL lookups ... It isn't entirely

Re: [Dnsmasq-discuss] Valid and Preferred lifetimes are not decreasing in RA's(captures)

2022-06-22 Thread Buck Horn
On 22.06.2022 at 06:52:13, Jagadeesh M via dnsmasq-discuss wrote: So, as per our requirement we made dnsmasq to send only one prefix (clients should configure ipv6 address with only that prefix), we changed dhcp-range config in dnsmasq. You haven't disclosed whether you'd run dnsmasq on your