[Dnsmasq-discuss] addn-hosts vs host-record

2018-03-07 Thread Donald Muller
Hi, What is the difference between addn-hosts and host-record? Are the same records created for both? Thanks Don ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] selecting log queries

2018-03-07 Thread John Pearson
A shot in the dark: Is there anyway to differentiate or only log domains that are directly queried? Example: when I go to github.com from the browser, this is the dnsmasq log file: Mar 7 18:06:04 dnsmasq[29158]: query[A] github.com from 10.1.0.163 Mar 7 18:06:04 dnsmasq[29158]: forwarded

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Andy Hawkins
Hi, In article , Lindgren Fredrik wrote: > What I did to test this was to add "option:router,10.243.0.1" to a new opti= > on file. > > Which is re-read by dnsmasq > > > I

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Lindgren Fredrik
Ease of Use from my side due to internal test environment where I work, where I have 1 command to stop/start remote instance. Can say that new clients (mac address never given ip from dnsmasq before) get the router entry that I removed from config before it did it's first request Br, Fredrik

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Simon Kelley
OK, sounds like there may be a bug. I'll try and reproduce this in the next day or two. Cheers, Simon. On 07/03/18 11:39, Lindgren Fredrik wrote: > I'm doing verification after removal in same way as when I add it, hence > debug output from dnsmasq process and dhcpdump capture > > > /Fredrik

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Lindgren Fredrik
I'm doing verification after removal in same way as when I add it, hence debug output from dnsmasq process and dhcpdump capture /Fredrik Från: Dnsmasq-discuss för Andy Hawkins Skickat: den

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread john doe
On 3/7/2018 8:19 AM, Lindgren Fredrik wrote: What I did to test this was to add "option:router,10.243.0.1" to a new option file. Which is re-read by dnsmasq I start a dhclient that I'm testing with, output in console of dnsmasq indicate that router entry is part of response (also seen in

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Lindgren Fredrik
OK. Here are the config options I use in case it has any impact dnsmasq.conf: port=0 no-resolv no-poll interface=eq-mgmt bind-interfaces no-hosts dhcp-range=10.243.0.50,10.243.255.254,255.255.0.0,10m dhcp-option=3 dhcp-option=12 dhcp-option=option:ntp-server,10.243.0.2,10.243.0.3 enable-tftp