[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

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 > >

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, it is

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 si...@thekelleys.org.uk 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

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

[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

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