Re: [Dnsmasq-discuss] DHCPv6 with IPv4 address in last 32 bits of IPv6 address: ideas?

2020-04-22 Thread Olaf Hering
Am Tue, 21 Apr 2020 15:58:25 +0200 schrieb "William Edwards" : > Ideas are welcome. You did not say how hosts are identified, nor did you say why exactly addresses matter in your setup. If it is done based on their MAC addresses, just give each host a name. host-record=hostname,hostname.${dns_d

[Dnsmasq-discuss] lease time affects ipv6 prefix life time

2020-05-04 Thread Olaf Hering
I have this in dnsmas.conf to advertise the current ipv6 prefix: dhcp-range=::,constructor:${interface},slaac,ra-names,64,${lease_time} enable-ra If the prefix gets changed, dnsmasq starts to announce the new prefix, but it keeps announcing the old one (as deprecated) as well for a while. I won

Re: [Dnsmasq-discuss] lease time affects ipv6 prefix life time

2020-05-21 Thread Olaf Hering
Am Thu, 21 May 2020 15:16:49 +0200 schrieb Geert Stappers : > On Mon, May 04, 2020 at 03:51:58PM +0200, Olaf Hering wrote: > > dhcp-range=::,constructor:${interface},slaac,ra-names,64,${lease_time} > > I wonder why the value of ${lease_time} is not used verbatim? > I don

Re: [Dnsmasq-discuss] Static leases issues

2020-06-10 Thread Olaf Hering
Am Mon, 8 Jun 2020 18:18:16 +0200 schrieb Bruno BEAUFILS : > am I struggling with some kind of bug? The behavior you are seen is caused by the fact that DHCP is an overly complicated crap protocol. To get this fixed quickly, remove the lease both from the client file-system and from the dnsmasq

Re: [Dnsmasq-discuss] Static leases issues

2020-06-30 Thread Olaf Hering
Am Mon, 29 Jun 2020 15:45:16 +0100 schrieb Simon Kelley : > the DHCP server has to comply I think this is the question: comply to what? Clearly the DHCP admin is the _only_ authority to decide which MAC gets what IP address, the DHCP client is only allowed to make suggestions. As such every DH

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Olaf Hering
Am Thu, 23 Jul 2020 10:35:45 +0200 schrieb Pali Rohár : > If user set in configure file that for MAC address AB:CD:EF:AB:CD:EF > must be assigned IPv6 address FD::1 then user would expect that host > with address AB:CD:EF:AB:CD:EF would get IPv6 address FD::1. In a world where a DHCP client has m

Re: [Dnsmasq-discuss] dnsmasq keepalive or RasberryPi?

2020-08-19 Thread Olaf Hering
Am Wed, 19 Aug 2020 07:06:31 -0600 schrieb Michael Walter : > service dnsmasq restart See systemd.service(5) "Restart=" for details. Olaf pgpawE8qRQKah.pgp Description: Digitale Signatur von OpenPGP ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@li

[Dnsmasq-discuss] syntax for cname= unclear

2020-09-17 Thread Olaf Hering
The dnsmasq man page has no specific example for cname=, it is unclear what target really has to be. A more specific example exists for host-record=. With the config snippet below the cnames are not known. Commands like 'host cname1 $ip_of_dnsmasq_host' work, but 'host cname1.dnsdomain $ip_of_d

Re: [Dnsmasq-discuss] Is there a way to run dnsmasq in safe mode (no-fail)?

2021-05-27 Thread Olaf Hering
Am Sun, 23 May 2021 22:25:28 +0200 schrieb Geert Stappers via Dnsmasq-discuss : > I learnt it is already implemented It is not. What they implemented, probably by doing copy&paste from sysv, does not help at all. There is zero need to run dnsmasq --test in this context, dnsmasq will fail eith

Re: [Dnsmasq-discuss] [PATCH] Add nftables set support

2021-09-29 Thread Olaf Hering
On Sun, Aug 22, Chen Zhenge via Dnsmasq-discuss wrote: > +++ b/Makefile > +nft_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_NFTSET > $(PKG_CONFIG) --libs libnftables` This change lacks pkg-config --cflags, like all the other existing pkg-config calls already have. Olaf ___

[Dnsmasq-discuss] [PATCH v1] remove stale contrib/Suse

2021-09-29 Thread Olaf Hering
dnsmasq is included in SUSE Linux since 2004. Signed-off-by: Olaf Hering --- contrib/Suse/README | 6 -- contrib/Suse/README.susefirewall | 27 contrib/Suse/dnsmasq-SuSE.patch | 23 --- contrib/Suse/dnsmasq-suse.spec | 111

Re: [Dnsmasq-discuss] DNS from dhcp-host while client is offline

2021-10-08 Thread Olaf Hering
On Sun, Oct 03, Alkis Georgopoulos wrote: > Is there any way for dnsmasq to put all the dhcp-hosts into its DNS view > even when these clients are offline? Maybe you asking for this: dnsdomain=home.arpa hostname=esprimo MAC=00:a0:d1:c8:8e:cb ipv4=172.16.0.6 ipv6=fd00:172:16::02a0:d1ff:

Re: [Dnsmasq-discuss] Bug while using address=//::

2021-10-08 Thread Olaf Hering
On Thu, Oct 07, Simon Kelley wrote: > --filter-A and --filter- options, these drop IPv4 and IPv6 ANSWERS, Did you consider an option to filter them per interface or server? Like server=/${dnsdomain}/${ip}/no-{A,} Olaf ___ Dnsmasq-discuss mail

Re: [Dnsmasq-discuss] DNS from dhcp-host while client is offline

2021-10-08 Thread Olaf Hering
Am Fri, 8 Oct 2021 19:02:31 +0300 schrieb Alkis Georgopoulos : > yeah I too settled for a sed command Sorry, I do not use sed or anything. If the MAC/ip/hostname triple is know in advance, create a static config file with host-record= and dhcp-host=. Sorry if that was unclear. But if you have

[Dnsmasq-discuss] extend filter-A to filter specific domains

2023-01-04 Thread Olaf Hering
Hello, currently a large email provider broke his configuration and is unusable with IPv6 since a week. Capable users quickly discovered the required workarounds, like entirely disabling IPv6 on the clients for the time being. One client application has an interesting feature, which allows to

[Dnsmasq-discuss] [PATCH v1] Fix dependency in make install target

2023-10-16 Thread Olaf Hering
#x27; is not yet done. Adjust the dependencies to update 'all' before processing 'install-common'. Signed-off-by: Olaf Hering --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 48e8d3b..f279339 100644 --- a/Makefile

[Dnsmasq-discuss] serving EFI and traditional BIOS at the same time

2014-02-18 Thread Olaf Hering
In my network a Fritzbox is serving DHCP to clients, and my workstation runs dnsmasq as a proxy. This is working for the traditional PC BIOS: dhcp-range=192.168.2.0,proxy dhcp-boot=pxelinux.0 pxe-service=x86PC,"x86PC: Automatic Network boot from ProBook",pxelinux enable-tftp tftp-root=/tftpboot

Re: [Dnsmasq-discuss] serving EFI and traditional BIOS at the same time

2014-02-18 Thread Olaf Hering
On Tue, Feb 18, Olaf Hering wrote: > How should the config look like to offer PXE to old and new VM types at > the same time? At least the separation appears to work like that: dhcp-match=x86PC, option:client-arch, 0 dhcp-match=BC_EFI, option:client-arch, 7 dhcp-boot=tag:x86PC,pxelinux.

Re: [Dnsmasq-discuss] serving EFI and traditional BIOS at the same time

2014-02-19 Thread Olaf Hering
On Tue, Feb 18, Olaf Hering wrote: > On Tue, Feb 18, Olaf Hering wrote: > > > How should the config look like to offer PXE to old and new VM types at > > the same time? > > At least the separation appears to work like that: > > dhcp-match=x86PC, option:clie

[Dnsmasq-discuss] how to track changes for a given hostname

2014-05-30 Thread Olaf Hering
My dnsmasq sometimes forgets the hostname of one of my boxes. I wonder how to track that without tweaking the source? My reconnect script reports: ... ssh: connect to host optiplex port 22: Connection refused rc '255'. root@optiplex @ Fr 30. Mai 11:27:43 CEST 2014 ssh: connect to host optiplex po

Re: [Dnsmasq-discuss] how to track changes for a given hostname

2014-06-04 Thread Olaf Hering
On Sun, Jun 01, Simon Kelley wrote: > > How can I find out why optiplex fails to resolve? > Look at --dhcp-script in the man page. A very simple script which logs > argv and the environment to a file should provide you with information > about the comings and going of DHCP leases. localhost does

[Dnsmasq-discuss] question about the host-record= example

2015-11-18 Thread Olaf Hering
I have several host-record=$name,$name.$domain,$ip4,$ip6 lines in my dnsmasq 2.62 conf file. Today I realized that "host $ip4" resolves to just "${name}.", but I was expecting "${name}.${domain}.". So I removed the "$name," part and get now the full name. I wonder why the example in the host-recor

Re: [Dnsmasq-discuss] question about the host-record= example

2015-12-07 Thread Olaf Hering
On Wed, Nov 18, Olaf Hering wrote: > I wonder why the example in the host-record= lists both? Any answer to that question? Olaf ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listi

Re: [Dnsmasq-discuss] Extension to hosts-dir and dhcohosts-dir

2018-02-09 Thread Olaf Hering
On Thu, Feb 08, Kurt H Maier wrote: > You should fix the editor; that behavior is dangerous for other reasons, > similar to the ones outlined here: > http://openwall.com/lists/oss-security/2017/11/27/2 This talks about apples, while Andy talks about oranges. Fix "$dnsmasq" to process only files i

[Dnsmasq-discuss] DHCP option 121, handling of interface address

2018-04-27 Thread Olaf Hering
I had to add DHCP option 121 to server an extra network to the clients in case one of the clients has to use USB tethering via the mobile phone. Therefore I added this line, and all is (almost) fine: dhcp-option=option:classless-static-route,$other_local_net/24,$interface_IP But it is not possib

Re: [Dnsmasq-discuss] [PATCH v1] Fix dependency in make install target

2024-12-21 Thread Olaf Hering via Dnsmasq-discuss
Any word on this change? Olaf Mon, 16 Oct 2023 12:02:53 +0200 Olaf Hering : > The make target 'install-common' expects results from the target 'all'. > A 'make -j install' may fail because both targets are brought > up-to-todate in parallel. As a result t