Re: [Dnsmasq-discuss] Make RA_INTERVAL configureable? Deprecate old prefixes?

2013-07-24 Thread Uwe Schindler
Hi, > RA's are not the same as DHCP, there's no such thing as a "lease time". > What there is, is preferred and valid lifetimes. What should happen is > that when old address is about to go away, the address for that prefix > on the network adaptor should have its preferred lifetime set to zero,

Re: [Dnsmasq-discuss] interface-name=, should also create AAAA record, if available

2013-07-24 Thread Uwe Schindler
Hi Simon, thanks for the information. How does this code sometimes locks up? Is it happening when reading the config files or when the network adaptor changes its address? In any case, I worked around that problem by another "cool trick". As told in my earlier mails, providers in Germany chang

Re: [Dnsmasq-discuss] Make RA_INTERVAL configureable? Deprecate old prefixes?

2013-07-24 Thread Simon Kelley
On 16/07/13 09:38, Uwe Schindler wrote: Hi, I really like the dnsmasq implementation as replacement to my previous installation with radvd, because it closely integrates with DHCP. It also sends instant RA when a client requests DHCP, so it does not have to wait until the RA is sent out automati

Re: [Dnsmasq-discuss] interface-name=, should also create AAAA record, if available

2013-07-24 Thread Simon Kelley
On 16/07/13 11:12, Uwe Schindler wrote: Hi, The config option: interface-name=, should in my opinion also create an record for the given interface, if a global ipv6 address is assigned, so the name returns both A and records. Would this be hard to do? The code to do it is in the

Re: [Dnsmasq-discuss] Live communication with DNCMASQ

2013-07-24 Thread Simon Kelley
On 10/07/13 14:45, sven falempin wrote: Simon, Beyond SIGUSR1 and 2 is there any way to communicate with dnsmasq to change the configuration or ask statistics ? There's a DBus interface which is limited, but does exist. I have vague plans to overhaul the entire configuration system to make

Re: [Dnsmasq-discuss] sometimes dhcp-script does not trigger on lease renewal

2013-07-24 Thread Simon Kelley
On 08/07/13 15:46, Stefan wrote: Hi list I'm using dnsmasq with openwrt, that's why i'm using v2.55 I'm using the option --dhcp-script. normally the scripts triggers, if a host is getting this ip-address (new), is renewing or dnsmasq is restarting (old), a host is releasing it or lease is timin

[Dnsmasq-discuss] Any plans for an API

2013-07-24 Thread Serafin Sedano
Hi, Is there any API (I could not find anything on the docs) or any plans to implement an API? Does Dnsmasq DHCPv6 can be configured using OMAPI? Regards. Serafin. -- SerafĂ­n Sedano | Software Engineer | Abiquo | | serafin.sed...@abiquo.com ___ Dnsm

Re: [Dnsmasq-discuss] PATCH: Address some FQDN issues

2013-07-24 Thread Roy Marples
On 24/07/2013 14:29, Simon Kelley wrote: I think this should happen already: for IPv4 calls to do_options have the domain argument which is set to the result of get_domain(address) which will be domain-suffix unless there's a more specific example. This is for INFOREQ where there is no address

Re: [Dnsmasq-discuss] Unable to resolve public/external hostnames

2013-07-24 Thread Koos Pol
Op 24-07-13 13:42, Weedy schreef: > I know I'm behind but FYI dnsmasq is installed and running[1] same as > any shitty SOHO router. In future look at TP-Link hardware, pretty much > everything they ship runs atheros radios (currently). Failing that just > try and buy stuff with atheros radios. >

Re: [Dnsmasq-discuss] [PATCH] Fix compliance with RFC 1123

2013-07-24 Thread Kyle Mestery (kmestery)
On Jul 24, 2013, at 7:19 AM, Simon Kelley wrote: > On 23/07/13 20:49, Kyle Mestery wrote: >> RFC 1123 permits hostnames to start with numbers. This patch >> fixes this in dnsmasq so it follows the RFC and allows hostnames to start >> with numbers. >> >> Signed-off-by: Kyle Mestery >> --- >> src/

Re: [Dnsmasq-discuss] PATCH: Address some FQDN issues

2013-07-24 Thread Simon Kelley
On 22/07/13 17:56, Roy Marples wrote: Hi I've been working on some FQDN issues with dnsmasq. This patch addresses the following: * FQDN with just a hostname is NOT terminated (rfc4702 2.3) Looks good. * Allow a blank FQDN message to request the hostname (rfc4702 2.3) (assuming no normal hos

Re: [Dnsmasq-discuss] [PATCH] Fix compliance with RFC 1123

2013-07-24 Thread Simon Kelley
On 23/07/13 20:49, Kyle Mestery wrote: RFC 1123 permits hostnames to start with numbers. This patch fixes this in dnsmasq so it follows the RFC and allows hostnames to start with numbers. Signed-off-by: Kyle Mestery --- src/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) d

[Dnsmasq-discuss] configure different "external" A records?

2013-07-24 Thread Florian Klink
Hi, I have a setup here with some virtual machines attached to br0 that get their ipv4 and ra-stateless/ra-names from dnsmasq. dnsmasq.conf: resolv-file=/etc/resolv.conf.dnsmasq interface=br0 interface=net0 no-dhcp-interface=net0 bind-interfaces dom

Re: [Dnsmasq-discuss] Unable to resolve public/external hostnames

2013-07-24 Thread Weedy
On 09/06/13 03:31 AM, Koos Pol wrote: > Goodmorning all, > > > I've shot myself in the foot by purchasing a new router without a DNS *server* > aboard (Netgear WNDR4500). (For which I'm now in a lengthy, difficult > discussion with Netgear support. Why doesn't a consumer grade router doesn't > do