Re: [Dnsmasq-discuss] Split-horizon

2020-10-30 Thread Petr Menšík
Hi Rubén, it seems to me support for tags on source clients would be more useful and easily understandable. Also, it already supports concept of tag: and set: in DHCP world. It should work to adapt also DNS queries to use it. I think, you would usually group of clients, which should share the sam

[Dnsmasq-discuss] Split-horizon

2020-10-17 Thread Rubén Justo
Hi all, I've updated to the latest source code a patch I did some time ago, to add split-horizon functionality to the address options. I use it to do some quick blocking just for some host/net, like: address=/double-click.net/127.0.0.1;192.168.2.0/24# block double-click.net to hosts in the n

[Dnsmasq-discuss] Split horizon DNS for NATed LAN with auth-server/auth-zone directives

2018-11-27 Thread Eric Engstrom
In a split horizon situation with an external name server providing the external resolution of (some) records, I want to be able to have dnsmasq be authoritative for a NATed subnet (10.7.0.0/16) such that PTR (and SRV, etc) records are automatically created and returned when queried. Having read t

[Dnsmasq-discuss] Split-horizon

2016-10-17 Thread Rubén Justo
Hi everyone, Attached is a patch to add a simple form of split horizon that I've been using for some time now. Perhaps others will also find it useful. Cheers, Ruben. split-horizon.patch Description: Binary data ___ Dnsmasq-discuss mailing list Dnsm

Re: [Dnsmasq-discuss] split-horizon

2015-09-07 Thread Ermanno Scaglione
Sorry for the late answer but I was on holiday. I tested the patch from git and it works as expected. Thank you a lot. On Sun, Aug 9, 2015 at 6:46 PM, Simon Kelley wrote: > On 06/06/15 09:59, Ermanno Scaglione wrote: > > auth-server=owncloud.local.lan,wan > > host-record=owncloud.local.lan,x.x.x

Re: [Dnsmasq-discuss] split-horizon

2015-08-09 Thread Simon Kelley
On 06/06/15 09:59, Ermanno Scaglione wrote: > auth-server=owncloud.local.lan,wan > host-record=owncloud.local.lan,x.x.x.x > auth-zone=owncloud.local.lanm,x.x.x.x/32 > address=/owncloud.local.lan/192.168.1.y > > also hosts inside the lan are answered x.x.x.x when querying for > owncloud.local.lan,

Re: [Dnsmasq-discuss] split-horizon

2015-08-06 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thanks for the heads-up. It took 'till 2.75 to get a stable release, but I'm back to committing fixes now, and I'll include this. Cheers, Simon. On 05/08/15 12:39, Ermanno Scaglione wrote: > Hi, what about this (minor) issue? > > On Tue, Jun 9,

Re: [Dnsmasq-discuss] split-horizon

2015-08-05 Thread Ermanno Scaglione
Hi, what about this (minor) issue? On Tue, Jun 9, 2015 at 11:14 PM, Simon Kelley wrote: > On 07/06/15 22:44, Ermanno Scaglione wrote: > > Yes adding an host record with an internal address cause dnsmasq to reply > > alternately the internal and external record to internal queries, > useless, > >

Re: [Dnsmasq-discuss] split-horizon

2015-06-09 Thread Simon Kelley
On 07/06/15 22:44, Ermanno Scaglione wrote: > Yes adding an host record with an internal address cause dnsmasq to reply > alternately the internal and external record to internal queries, useless, > also --localise-queries has no effect. > Maybe the new flag should be called localise-auth-queries :

Re: [Dnsmasq-discuss] split-horizon

2015-06-07 Thread Ermanno Scaglione
Yes adding an host record with an internal address cause dnsmasq to reply alternately the internal and external record to internal queries, useless, also --localise-queries has no effect. Maybe the new flag should be called localise-auth-queries :-) It would be a great small split-horizon for home

Re: [Dnsmasq-discuss] split-horizon

2015-06-06 Thread Simon Kelley
I can see exactly why it's behaving this way. The code attempts to answer directly queries from internal hosts for auth domains that would otherwise be forwarded, and then return to the authoritative side of dnsmasq. This is a performance hack. I don't think you ingenious use of address= was consi

[Dnsmasq-discuss] split-horizon

2015-06-06 Thread Ermanno Scaglione
Hi to everybody, I use dnsmasq on my small home router (and find it great btw), and I am attempting to use it also as an authoritative DNS for a freedns.afraid.org subdomain I host on my home server. I'd like to configure the dns in a way that the domain resolves to address x.x.x.x when queried ove