Re: [Dnsmasq-discuss] DNS TTL for responses based on DHCP leases

2016-02-25 Thread Lorin Weilenmann
Hi Simon, Thanks a lot for your effort! I've just built the latest source from git and I'm quite happy with the changes, i.e. I can confirm that --dhcp-ttl and the new host-record additions work well for me. I've noticed that replies which get their TTL from the dhcp-ttl option always get the TTL

[Dnsmasq-discuss] Facing compilation issue with dnsmasq

2016-02-25 Thread Mariappan Rajendran
Hi, I just downloaded the dnsmasq latest version from GIT and facing the below error when i compile. Please suggest to resolve this. hadmin@ICSCHELAP1003:~/Mari$ git clone https://github.com/guns/dnsmasq Cloning into 'dnsmasq'... remote: Counting objects: 7776, done. remote: Total 7776 (delta 0)

Re: [Dnsmasq-discuss] Facing compilation issue with dnsmasq

2016-02-25 Thread /dev/rob0
On Thu, Feb 25, 2016 at 12:04:11PM +, Mariappan Rajendran wrote: > I just downloaded the dnsmasq latest version from GIT and facing > the below error when i compile. > Please suggest to resolve this. > > hadmin@ICSCHELAP1003:~/Mari$ git clone https://github.com/guns/dnsmasq > Cloning into 'dn

[Dnsmasq-discuss] IP filtering

2016-02-25 Thread FredB
Hello, I'm wondering if can meet some of my requirements What I can do 1 ) Clients are using DNSMAQ for DNS requests 2 ) dnsmask forwards to another dns (like google but no matter) 3 ) IP returned is changed by dnsmask by another, I know I can do that without problem for domains but for a spe

Re: [Dnsmasq-discuss] IP filtering

2016-02-25 Thread Lorin Weilenmann
Check out the --alias option: -V, --alias=[]|[-],[,] Modify IPv4 addresses returned from upstream nameservers; old-ip is replaced by new-ip. If the optional mask is given then any address which matches the masked old-ip will be re-written. So, for instance --alias=1.2.3.0,6.7.8.0,255.255.255.0 wil

[Dnsmasq-discuss] Can DNS return IPs for inactive static DHCP records?

2016-02-25 Thread Eric Sandeen
Say I have host fred, with ip address 1.2.3.4. I could do: dhcp-host=11:22:33:44:55:66,fred,1.2.3.4 so that fred always gets 1.2.3.4 when it asks. But as far as I can tell, unless fred has an active lease, DNS lookups for fred will fail. Right now it looks like I need to also do: host-record=

Re: [Dnsmasq-discuss] Facing compilation issue with dnsmasq

2016-02-25 Thread mariappan.rajendran
Yes it is resolved after installing the libidn package. Thanks a lot. -Original Message- From: /dev/rob0 Sent: Thursday, February 25, 2016 7:26 PM To: dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re: [Dnsmasq-discuss] Facing compilation issue with dnsmasq On Thu, Feb 25, 2016