Re: [Dnsmasq-discuss] [PATCH] Fix typo in ra-param man page section

2019-01-02 Thread Christian Weiske
Hello,


>  man/dnsmasq.8| 2 +-
>  man/fr/dnsmasq.8 | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git man/dnsmasq.8 man/dnsmasq.8

Is there anything I can do to get this patch merged?

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] what do the contents of /var/lib/misc/dnsmasq.leases mean?

2019-01-02 Thread john doe
On 1/2/2019 5:01 AM, Sean Kelly wrote:
> when I cat the file I see mutiple entries for the same MAC address, what
> does this mean?
> 
> 0 98:de:d0:bb:11:0c 192.168.0.10 * 01:98:de:d0:bb:11:0c
> 0 98:de:d0:bb:11:0c 192.168.0.10 * 01:98:de:d0:bb:11:0c
> 0 98:de:d0:2c:0e:4c 192.168.0.20 * 01:98:de:d0:2c:0e:4c
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 44:80:eb:95:2a:b4 192.168.0.66 * 01:44:80:eb:95:2a:b4
> 0 44:80:eb:95:2a:b4 192.168.0.66 miri-phone 01:44:80:eb:95:2a:b4
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:90:a9:6a:0b:92 192.168.0.40 * 01:00:90:a9:6a:0b:92
> 0 00:1a:62:01:17:cf 192.168.0.252 * 01:00:1a:62:01:17:cf
>  Can I trim multiple entriesor is it safe to ignore them? I just recently
> got the dnsmasq NO LEASES LEFT error and was concerned that these duplicate
> entries contributed to the dhcp-max-leases count. Can I delete them safely?
> 

I'm assuming that the parssing of the lease file is somewhat similar to
dhcpd.leases.
Based on that assumption, only the first match is used.
New entries are added at the top of the file, I guess that the file is
read from top to bottom (oposit behavior for dhcpd.leases).
Note that the daemon needs to be stopped to modify the lease file.

The lease file is a database of known client(s) to the server, that way,
the same IP is given to the same client.

-- 
John Doe

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss