Re: [Dnsmasq-discuss] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-19 Thread Roy Marples
On 19/03/2020 22:01, Simon Kelley wrote: http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=0506a5ed4e56863627c54aedad30ad61221292ef should handle both old kernel header files and old kernels, in any combination. I really dislike this approach because it makes the assumption that no

[Dnsmasq-discuss] Please consider adding an option to filter request by type

2020-03-19 Thread doyoucare
I'd like to allow A, request and reject other types for security of my network. Could you please add an new option to allow this? example limit_resolve_type= (empty (default): allow all types Specify values by comma limit_resolve_type=A,TXT This will allow resolving domain name to IP,

Re: [Dnsmasq-discuss] Nameserver dot

2020-03-19 Thread Simon Kelley
On 19/03/2020 17:23, William Edwards wrote: > Hi, > > I have auth-sec-servers set to: > 'auth-sec-servers=nsauth0.cyberfusion.nl,nsauth1.cyberfusion.be,nsauth2.cyberfusion.nu,nsauth3.cyberfusion.nl' > > These nameservers are shown, but I am also getting back an NS record > consisting of '.': >

Re: [Dnsmasq-discuss] SOA serial increase

2020-03-19 Thread Simon Kelley
On 19/03/2020 17:28, William Edwards wrote: > Hello, > > Does dnsmasq increase SOA serial when adding a new DNS record after DHCP > lease is requested? Yes. > > I am not sure because docs say '--auth-soa' allows for specifying serial. It does, but it's optional: dnsmasq will generate one for

Re: [Dnsmasq-discuss] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-19 Thread Simon Kelley
On 19/03/2020 21:01, Petr Gotthard wrote: >> Thanks. >> >> FWIW in case it gets too silent >> resend the patch as `git format-patch` artifact > > Oops, sorry. Let me resend it right away. No need. I'm working on a slightly more elaborate alternative. Simon. > > >>From

Re: [Dnsmasq-discuss] [PATCH 0/1] Fix resource leak on ubus_init failure.

2020-03-19 Thread Simon Kelley
On 18/03/2020 21:24, Oldřich Jedlička wrote: > Hi, > > This is my first patch here. I discovered one resource leak in ubus_init, when > ubus_add_object fails - the ubus connection stays open. I added a patch, see > follow-up email. (Hopefully git send-email sends it.) > > Regards, > Oldrich. >

[Dnsmasq-discuss] Fwd: dnsmasq localise-queries + addn-hosts

2020-03-19 Thread Jake Howard
Hello! Is `localise-queries` meant to work against entries added via `addn-hosts`? Querying a record returns both IPs, but always in the same order. The order is correctly fixed when the records are put in `/etc/hosts` directly. Config: ``` localise-queries no-resolv cache-size=1

Re: [Dnsmasq-discuss] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-19 Thread Simon Kelley
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=0506a5ed4e56863627c54aedad30ad61221292ef should handle both old kernel header files and old kernels, in any combination. Cheers, Simon. On 19/03/2020 13:16, Petr Gotthard wrote: > Hello, > > The commit >

Re: [Dnsmasq-discuss] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-19 Thread Petr Gotthard
> Thanks. > > FWIW in case it gets too silent > resend the patch as `git format-patch` artifact Oops, sorry. Let me resend it right away. >From f669af70871b80ab7ecf250ea56160a3378f2d94 Mon Sep 17 00:00:00 2001 From: Petr Gotthard Date: Thu, 19 Mar 2020 21:47:28 +0100 Subject: [PATCH] Fix

Re: [Dnsmasq-discuss] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-19 Thread Geert Stappers
On Thu, Mar 19, 2020 at 01:16:11PM +, Petr Gotthard wrote: > Hello, > > The commit > http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=1627d577af03cdf747285e79fa747b6aaae8033f > > introduced NETLINK_NO_ENOBUFS, which is not available on some ancient > platforms (which are

[Dnsmasq-discuss] Nameserver dot

2020-03-19 Thread William Edwards
Hi, I have auth-sec-servers set to: 'auth-sec-servers=nsauth0.cyberfusion.nl,nsauth1.cyberfusion.be,nsauth2.cyberfusion.nu,nsauth3.cyberfusion.nl' These nameservers are shown, but I am also getting back an NS record consisting of '.': --- ;; ANSWER SECTION: vlan5.hosts.cyberfusion.space. 600

[Dnsmasq-discuss] SOA serial increase

2020-03-19 Thread William Edwards
Hello, Does dnsmasq increase SOA serial when adding a new DNS record after DHCP lease is requested? I am not sure because docs say '--auth-soa' allows for specifying serial. Met vriendelijke groeten, William Edwards T. 040 - 711 44 96 E. wedwa...@cyberfusion.nl  

[Dnsmasq-discuss] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-19 Thread Petr Gotthard
Hello, The commit http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=1627d577af03cdf747285e79fa747b6aaae8033f introduced NETLINK_NO_ENOBUFS, which is not available on some ancient platforms (which are however still in use). The build of 2.81rc4 fails on these platforms now. Would it