[Dnsmasq-discuss] dnsmasq cache dump

2013-02-11 Thread trang dang
Hello, I use dnsmasq 2.63 on debian, only dns is on, and want to read cache dump with a small script. Till now the cache dump has been written in extra log file (log-facility is on) or in syslog. Is there any way to get an extra cache file? It will be easier to parse the content of the cache.

Re: [Dnsmasq-discuss] dnsmasq cache dump

2013-02-11 Thread Simon Kelley
On 11/02/13 09:02, trang dang wrote: Hello, I use dnsmasq 2.63 on debian, only dns is on, and want to read cache dump with a small script. Till now the cache dump has been written in extra log file (log-facility is on) or in syslog. Is there any way to get an extra cache file? It will be

Re: [Dnsmasq-discuss] dnsmasq cache dump

2013-02-11 Thread Sung Pae
On Mon, Feb 11, 2013 at 09:11:47AM +, Simon Kelley wrote: On 11/02/13 09:02, trang dang wrote: Hello, I use dnsmasq 2.63 on debian, only dns is on, and want to read cache dump with a small script. Till now the cache dump has been written in extra log file (log-facility is on) or

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Gene Czarcinski
On 02/10/2013 08:57 PM, Dan Williams wrote: Best to test with is git master or the 0.9.7.995 release. Too late ... I am running 0.9.7.997 So far things are working well (no problems). I finally figured out that the easiest way to specify the duid-default so that I would be using duid-LL is

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Dan Williams
On Mon, 2013-02-11 at 11:48 -0500, Gene Czarcinski wrote: On 02/10/2013 08:57 PM, Dan Williams wrote: Best to test with is git master or the 0.9.7.995 release. Too late ... I am running 0.9.7.997 I lied and I actually mean 0.9.7.997 :) So far things are working well (no problems). I

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-11 Thread Simon Kelley
On 09/02/13 02:59, Sheng Yang wrote: Hi Simon, I found I can't assign IPv6 address for /96 subnet. I specified DHCP range use 96 bits prefixes: dhcp-range=fc00:3:1602::7473,96,static And here is nic: 2: eth0:BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast state UP qlen 1000

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Gene Czarcinski
On 02/10/2013 09:09 PM, Dan Williams wrote: On Sat, 2013-02-09 at 11:01 -0500, Gene Czarcinski wrote: snip Unfortunately, what you have done is not going to scratch my itch! First, I would like a bit of clarification. Is the DUID-UUID going to be per system or per network interface? By per

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Gene Czarcinski
On 02/11/2013 12:13 PM, Dan Williams wrote: The option you're looking for*is* to set default-duid in the lease file. That's exactly how you tell NM to use the DUID you want. Otherwise, NM will generate the DUID-UUID. See my other message. This appears to be not working. Do you want me to

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Dan Williams
On Mon, 2013-02-11 at 15:34 -0500, Gene Czarcinski wrote: On 02/10/2013 09:09 PM, Dan Williams wrote: On Sat, 2013-02-09 at 11:01 -0500, Gene Czarcinski wrote: snip Unfortunately, what you have done is not going to scratch my itch! First, I would like a bit of clarification. Is the

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Dan Williams
On Mon, 2013-02-11 at 15:46 -0500, Gene Czarcinski wrote: On 02/11/2013 12:13 PM, Dan Williams wrote: The option you're looking for*is* to set default-duid in the lease file. That's exactly how you tell NM to use the DUID you want. Otherwise, NM will generate the DUID-UUID. See my other

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Dan Williams
On Mon, 2013-02-11 at 15:06 -0600, Dan Williams wrote: On Mon, 2013-02-11 at 15:34 -0500, Gene Czarcinski wrote: On 02/10/2013 09:09 PM, Dan Williams wrote: On Sat, 2013-02-09 at 11:01 -0500, Gene Czarcinski wrote: snip Unfortunately, what you have done is not going to scratch my itch!

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Dan Williams
On Mon, 2013-02-11 at 16:29 -0500, Gene Czarcinski wrote: On 02/11/2013 04:12 PM, Dan Williams wrote: See my reply to your other mail about this; I see what you're saying now, and I think we can push for having whatever generates machine-id (often systemd) pull that information from

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Gene Czarcinski
On 02/11/2013 04:06 PM, Dan Williams wrote: Fedora 17 and 18, until 0.9.7.997, left the DUID behavior up to dhcleint, which appears to generate a default DUID itself; but the NetworkManager code will honor that existing DUID if it finds it in the interface+connection specific lease file [1]. If

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Dan Williams
On Mon, 2013-02-11 at 16:42 -0500, Gene Czarcinski wrote: On 02/11/2013 04:06 PM, Dan Williams wrote: Fedora 17 and 18, until 0.9.7.997, left the DUID behavior up to dhcleint, which appears to generate a default DUID itself; but the NetworkManager code will honor that existing DUID if it

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Gene Czarcinski
On 02/11/2013 04:35 PM, Dan Williams wrote: On Mon, 2013-02-11 at 16:29 -0500, Gene Czarcinski wrote: On 02/11/2013 04:12 PM, Dan Williams wrote: See my reply to your other mail about this; I see what you're saying now, and I think we can push for having whatever generates machine-id (often

Re: [Dnsmasq-discuss] DHCPv6 and MAC

2013-02-11 Thread Dan Williams
On Mon, 2013-02-11 at 16:53 -0500, Gene Czarcinski wrote: On 02/11/2013 04:35 PM, Dan Williams wrote: On Mon, 2013-02-11 at 16:29 -0500, Gene Czarcinski wrote: On 02/11/2013 04:12 PM, Dan Williams wrote: See my reply to your other mail about this; I see what you're saying now, and I think

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-11 Thread Sheng Yang
Yes, I just tried, and that works. I am using dhcp-host files to assign all the ips on the network, I guess that's what goes wrong... Here is the file content: id:00:03:00:01:06:4f:66:00:00:2e,[fc00:3:1602::dca1/96],test1,infinite And config file: resolv-file=/etc/dnsmasq-resolv.conf