[Dnsmasq-discuss] Dnsmasq as dhcp relay agent for another dnsmasq server
Hi, I am trying to use one Dnsmasq to forward dhcp request to other dnsmasq server , But how should I configure it. For relay agent , I tried with, --dhcp-relay=local address,server address* *as mentioned here, http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html But the its saying it is invalid option , even dnsmasq --help is not having such options. On server side I have following configuration, listen-address=192.168.56.1 dhcp-range=192.168.40.2,192.168.40.254,255.255.255.0,12h dhcp-leasefile=/tmp/dnsmasq.leases Please let me know, in case anything wrong I am doing. Thanks, Prashant ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] Locking Down DNS Queries to Correct Servers
Hi, We have two DHCP/DNS servers running Ubuntu 12.04 and dnsmasq-server 2.590-4ubuntu0.1. The other day, we had a user set up a Windows Server 2012 computer on our development network for testing. This user chose to set up his Windows server as DC, DHCP server, DNS server, and more, for a new domain that he gave the same name as our production domain (let's say both domains are named example.com). One of our servers, while still using a DHCP lease from our legitimate DHCP servers, somehow began using the Windows server for DNS queries for hosts on the example.com domain, though our server network and the development network are on separate VLANs and in different broadcast domains. Is there something in our servers' dnsmasq.conf that would have allowed any of our DHCP servers to forward requests to the unauthorized servers? Here's what dnsmasq.conf looks like on our primary DHCP server. We've set it up so that the three DCs handle all DNS queries for example.com server=// server=/example.com/###.###.###.1 server=/example.com/###.###.###.2 server=/example.com/###.###.###.3 local-ttl=1 localise-queries all-servers rebind-localhost-ok stop-dns-rebind dns-forward-max=5000 cache-size=1 rebind-domain-ok=/example.com/ Thanks, Ben Cundiff Associate Sysadmin X-ES Inc. bcund...@xes-inc.com ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] split networks with split DNS?
Did you ever figure this out? I am struggling with the same and am unable to find a solution. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] split networks with split DNS?
On Tue, Jul 29, 2014 at 09:40:45PM -0400, krux wrote: Did you ever figure this out? I am struggling with the same and am unable to find a solution. I don't think this will be a feature in dnsmasq. For something like this, you would have to run BIND and use views. Or as the OP said, you could use a separate dnsmasq instance per network, each binding only the appropriate IP address/interface. Dnsmasq is a fine piece of software; I like it a lot. And it is a much easier way to get started and to have things working as you need. But (by design) it cannot meet every need. If it could, it wouldn't be so simple to use. :) Don't be afraid of BIND. While it is very powerful, it's also straightforward, well documented, and well supported. -- http://rob0.nodns4.us/ Offlist GMX mail is seen only if /dev/rob0 is in the Subject: ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss