[Dnsmasq-discuss] Overwrite a public domain with dnsmasq while preserving external records?

2016-08-28 Thread Hans Schmidt
Hello, I have the following setup, and wonder if this is possible with dnsmasq: I own a domain called example.com, which has some records on a public name server, for example a MX record, an A or an record for example.com directly, but also some subdomains. I want to reuse this domain also

[Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

2016-08-28 Thread Alessandro Bottonelli
Hi, very new to dnsmasq, and also very impressed. I replaced bind last night 'cause I needed to route different subnets reverses to different name servers. Not a clean setup, I know. But that's what my Customer has been doing over the last twenty years. Cannot do anything about it. Here's

Re: [Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

2016-08-28 Thread Albert ARIBAUD
Hi Alessandro, Le Sun, 28 Aug 2016 11:33:02 +0200 Alessandro Bottonelli a écrit: > Hi, > > very new to dnsmasq, and also very impressed. I replaced bind last > night 'cause I needed to route different subnets reverses to > different name servers. Not a clean setup, I

Re: [Dnsmasq-discuss] Overwrite a public domain with dnsmasq while preserving external records?

2016-08-28 Thread Simon Kelley
It all depends on how you configure things: if you use entries in /etc/hosts or --host-record, --mx-record etc then they will only "mask" the external values for that exact domain name and record type. See the '#' targer for --server=/ for another option. Cheers, Simon. On 28/08/16 09:57,

Re: [Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

2016-08-28 Thread Alessandro Bottonelli
Il 2016-08-28 11:53 Albert ARIBAUD ha scritto: Hi Alessandro, Le Sun, 28 Aug 2016 11:33:02 +0200 Alessandro Bottonelli a écrit: Here's the current /etc/dnsmasq.conf content (I added the line numbers): - 1. # routing PTR queries to nameservers: 2.

Re: [Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

2016-08-28 Thread Albert ARIBAUD
Hi again Alessandro, Le Sun, 28 Aug 2016 14:56:35 +0200 Alessandro Bottonelli a écrit: > Il 2016-08-28 11:53 Albert ARIBAUD ha scritto: > > Hi Alessandro, > > > > Le Sun, 28 Aug 2016 11:33:02 +0200 > > Alessandro Bottonelli a écrit: > > > >

Re: [Dnsmasq-discuss] [PATCH] Refresh cached socket fd if the interface index changed

2016-08-28 Thread Simon Kelley
Patch applied, with a few tweaks, mainly for style consistency, but one to avoid passing strings of length zero to if_nametoindex(). Many thanks. Cheers, Simon. On 25/08/16 16:10, Beniamino Galvani wrote: > The socket bound to a specific interface in the daemon->sfds cache is > reused also

Re: [Dnsmasq-discuss] [PATCH] Improve --address and --ipset docs, fix --help output

2016-08-28 Thread Simon Kelley
On 18/08/16 23:19, Peter Wu wrote: > Hi, > > Recently I discovered the --ipset option but the manpage and --help output > were > slightly confusing, so here are some fixes for that. This patch is best viewed > with git diff --color-words or with side-by-side diff. > Applied. Many thanks. >

Re: [Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

2016-08-28 Thread Alessandro Bottonelli
Il 2016-08-28 17:56 Albert ARIBAUD ha scritto: Hi again Alessandro, Le Sun, 28 Aug 2016 14:56:35 +0200 Alessandro Bottonelli a écrit: -- 8< cut >8 -- And that's my issue, what's the syntax (if available) to tell dnsmasq to ask for reverse for less than 0.255

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

2016-08-28 Thread Simon Kelley
On 25/08/16 11:32, Andrew Shadura wrote: > On 25/08/16 13:26, Andrew Shadura wrote: >> Okay, let me give you a more specific example, with just one of the >> interfaces. >> >> Let's say we've got eth0 with vlans: >> eth0.1, static config >> eth0.2, static config + dhcp server >> eth0.3, dhcp

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

2016-08-28 Thread richardvo...@gmail.com
On Thu, Aug 25, 2016 at 11:57 AM, Albert ARIBAUD wrote: > Le Thu, 25 Aug 2016 18:45:09 +0200 > Albert ARIBAUD a écrit: > > > > eth0.3 which does not have an IP and netmask, and therefore rightly > > complain about that. > > (developing slightly) >

Re: [Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

2016-08-28 Thread Albert ARIBAUD
Hi Alessandro, Le Sun, 28 Aug 2016 19:03:48 +0200 Alessandro Bottonelli a écrit: > Now I have to plan the make and install of a > "/usr/local/sbin/dnsmasq" and the replacement of the repository > version. I've to do it directly on a fully operational, 7x24, >