Re: [Dnsmasq-discuss] server-side dynamic resolving

2012-08-14 Thread richardvo...@gmail.com
standpoint. Anyway, this is particularly where I hit the issue and realized that dnsmasq is *just* attempting lookups via hosts files and dhpc leases and not additionally (or only) attempting nsswitch which would obviously generally include the system's dns servers among other things. If

Re: [Dnsmasq-discuss] server-side dynamic resolving

2012-08-14 Thread /dev/rob0
On Mon, Aug 13, 2012 at 05:17:49PM +0200, Chris Wilson wrote: Running a real DNS server and dnsmasq on the same host might be be tricky. You might need to add an IP alias on the server and bind bind to that alias, and dnsmasq's DNS server to the main IP address. It's not tricky at all,

Re: [Dnsmasq-discuss] server-side dynamic resolving

2012-08-14 Thread John Hallam
On Tue, Aug 14, 2012 at 08:16:02AM -0500, /dev/rob0 wrote: On Mon, Aug 13, 2012 at 07:10:58PM +0200, John Hallam wrote: * If you are wondering, why two caches, the reason is that dnsmasq allows me to redirect troublemaker domains to the black hole easily, while dnscache is a

Re: [Dnsmasq-discuss] server-side dynamic resolving

2012-08-13 Thread Travis Hansen
Contacting nsswitch would cause infinite recursion in the (common) case where the default dns server is localhost (necessary to allow other programs on the same computer to see dynamic DNS entries which dnsmasq contains by virtue of DHCP registrations). True (I'm not currently doing that but

Re: [Dnsmasq-discuss] server-side dynamic resolving

2012-08-13 Thread Chris Wilson
Hi Travis, On Mon, 13 Aug 2012, Travis Hansen wrote: Bind doesn't do it, the client does. CNAME works like this: client - nsswitch - server: what's the address of 15z.foo.bar? client - nsswitch - server: 15z.foo.bar is a CNAME to 15z.local. client - nsswitch - mdns: what's the address of

Re: [Dnsmasq-discuss] server-side dynamic resolving

2012-08-12 Thread Chris Wilson
Hi Travis, On Sat, 11 Aug 2012, Travis Hansen wrote: I'm attempting to integrate dnsmasq with mdns. I'm not really sure how to go about it but I'll explain the scenario... 1. My machine is known as '15z' and via mdns clients resolves as 15z.local 2. I have apache running mod_dnssd (not

Re: [Dnsmasq-discuss] server-side dynamic resolving

2012-08-12 Thread Travis Hansen
Chris On Sun, Aug 12, 2012 at 3:48 AM, Chris Wilson ch...@aptivate.org wrote: Hi Travis, On Sat, 11 Aug 2012, Travis Hansen wrote: I'm attempting to integrate dnsmasq with mdns. I'm not really sure how to go about it but I'll explain the scenario... 1. My machine is known as '15z' and

[Dnsmasq-discuss] server-side dynamic resolving

2012-08-11 Thread Travis Hansen
I'm attempting to integrate dnsmasq with mdns. I'm not really sure how to go about it but I'll explain the scenario... 1. My machine is known as '15z' and via mdns clients resolves as 15z.local 2. I have apache running mod_dnssd (not actually critical to the situation but gives context at least)