Re: [Dnsmasq-discuss] Can one produce a list of IP's assigned by DHCP

2010-12-20 Thread Thomas S Hatch
Well, regardless, enjoy my script, we use it to make a hosts file that can be distributed to other dnsmasq servers of for a kind of replication technique. It does what we want it to, you may have to change line 24 to point to the correct leases file On Mon, Dec 20, 2010 at 5:14 PM, Bernard T. Higo

Re: [Dnsmasq-discuss] Can one produce a list of IP's assigned by DHCP

2010-12-20 Thread Bernard T. Higonnet
Justin McAteer wrote: For all of my installations, the list of current leases is stored at: /var/lib/misc/dnsmasq.leases Turns out that in my FreeBSD 8.1 installation, dnsmasq.leases can be found in /var/db/ and was exactly what I was looking for. Thanks!! Bernard Higonnet

Re: [Dnsmasq-discuss] Can one produce a list of IP's assigned by DHCP

2010-12-20 Thread Thomas S Hatch
If you are interested I have a script that parses the configs, finds all the hosts files being used and parsed the leases file then spits out a hosts file format file of everything dnsmasq is resolving On Mon, Dec 20, 2010 at 3:44 PM, Justin McAteer wrote: > For all of my installations, the lis

Re: [Dnsmasq-discuss] Can one produce a list of IP's assigned by DHCP

2010-12-20 Thread Justin McAteer
For all of my installations, the list of current leases is stored at: /var/lib/misc/dnsmasq.leases Thank You, Justin McAteer On Mon, Dec 20, 2010 at 3:59 PM, Santiago Zarate wrote: > if im not mistaken, you can pass a SIGUSR1 signal to the dnsmasq > process... it should send what's inside to

Re: [Dnsmasq-discuss] Can one produce a list of IP's assigned by DHCP

2010-12-20 Thread Santiago Zarate
if im not mistaken, you can pass a SIGUSR1 signal to the dnsmasq process... it should send what's inside to the log... Check here: http://www.thekelleys.org.uk/dnsmasq/docs/setup.html under Other configuration details: Sending SIGUSR1 (killall -10 dnsmasq) to the dnsmasq process will cause to to

[Dnsmasq-discuss] Can one produce a list of IP's assigned by DHCP

2010-12-20 Thread Bernard T. Higonnet
other than by perusing the log? I am trying to research a situation in which it appears (sic) that dnsmasq assigns an address and then when asked if it exists answers it does not. My newbie status means I could have any of this wrong... TIA Bernard Higonnet