Re: [Dnsmasq-discuss] command on DHCP release

2005-05-03 Thread Luca Landi
Simon Kelley ha scritto: > Every potential addition is a judgement call between useful extra stuff > and bloat. In my experience, running shells to "do stuff" is never that > satisfactory, it's also terifyingly easy to get parameter escaping or > environment stuff wrong and allow arbitrary comma

Re: [Dnsmasq-discuss] DHCP with no default route and no DNS

2005-05-03 Thread Simon Kelley
Jim Faulkner wrote: I would like dnsmasq to not provide a gateway and DNS server to clients on the wireless network at all. I've attempted this by adding these lines to the configuration file: dhcp-option=wireless-net,3,0 dhcp-option=wireless-net,6,0 On a windows 2000 client, the above lines w

[Dnsmasq-discuss] DHCP with no default route and no DNS

2005-05-03 Thread Jim Faulkner
Hello, I am using dnsmasq on a gateway/firewall/wireless access point. The machine has 3 physical network interfaces: a wireless card and 2 ethernet cards (one ethernet card connects to an ADSL modem, the other connects to a LAN). dnsmasq is providing DHCP service for the wireless network and t

[Dnsmasq-discuss] restricting listening interfaces only for DHCP

2005-05-03 Thread Dimitrios Apostolou
Hello list, I really like dnsmasq, it's small and helps avoid using ISC's giants, dhcpd and bind, for simple cases. However I can't figure out a way to do the following: DHCP should listen only to eth0 since I don't want to give my IP's to anyone from outside. However DNS should listen to al

Re: [Dnsmasq-discuss] command on DHCP release

2005-05-03 Thread Simon Kelley
Luca Landi wrote: hai scritto: There was a patch submitted here a month or so ago which did this (and more - it calls out on every lease state change.) One reason I'm equivocating about adding it to the dnsmasq mainline is that it requires dnsmasq to run as root in order that the external c

Re: [Dnsmasq-discuss] [FEAT.REQ] Further localisation of --localise-queries

2005-05-03 Thread Luca Landi
Alex Hermann ha scritto: > Luca Landi wrote: > > Basically the whole thing shoud look like this: > > > > dnsmasq -a 192.168.1.1 -H /etc/hosts1 -h -F > > dnsmasq -a 192.168.1.2 -H /etc/hosts2 -h > > dnsmasq -a 192.168.1.3 -H /etc/hosts3 -h > > That would need a separate instance for the DHCP ser

[Dnsmasq-discuss] [patch] add support for setting minimum ttl

2005-05-03 Thread Mike Frysinger
this patch adds a 'min-ttl' configuration option. this allows you to override the ttl for all queries ... for example, if you run `dnsmasq --min-ttl 3600`, then dnsmasq will cache all queries for at least 1 day (3600 seconds in a day) even if the record has a ttl value of say 300 seconds (like

Re: [Dnsmasq-discuss] [FEAT.REQ] Further localisation of --localise-queries

2005-05-03 Thread Alex Hermann
Luca Landi wrote: Alex Hermann ha scritto: On Sunday 01 May 2005 14:19, Luca Landi wrote: Alex Hermann ha scritto: server: eth0 192.168.1.1 <---> client1 : 192.168.1.101 eth1 192.168.1.2 <---> client2 : 192.168.1.102 eth2 192.168.1.3 <---> client3 : 192.168.1.103 eth3 p

[Dnsmasq-discuss] [patch] add support for setting minimum ttl

2005-05-03 Thread Mike Frysinger
this patch adds a 'min-ttl' configuration option. this allows you to override the ttl for all queries ... for example, if you run `dnsmasq --min-ttl 3600`, then dnsmasq will cache all queries for at least 1 day (3600 seconds in a day) even if the record has a ttl value of say 300 seconds (like