[Dnsmasq-discuss] [PATCH] Fix typo in ra-param man page section

2018-12-26 Thread Christian Weiske
---
 man/dnsmasq.8| 2 +-
 man/fr/dnsmasq.8 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git man/dnsmasq.8 man/dnsmasq.8
index f01a5ba..9c30d2b 100644
--- man/dnsmasq.8
+++ man/dnsmasq.8
@@ -1829,7 +1829,7 @@ The interval between router advertisements may be set (in 
seconds) with
 .B --ra-param=eth0,60.
 The lifetime of the route may be changed or set to zero, which allows
 a router to advertise prefixes but not a route via itself. 
-.B --ra-parm=eth0,0,0
+.B --ra-param=eth0,0,0
 (A value of zero for the interval means the default value.) All four 
parameters may be set at once.
 .B --ra-param=eth0,mtu:1280,low,60,1200
 
diff --git man/fr/dnsmasq.8 man/fr/dnsmasq.8
index 88967df..a04c776 100644
--- man/fr/dnsmasq.8
+++ man/fr/dnsmasq.8
@@ -1774,7 +1774,7 @@ Un intervalle (en secondes) entre les annonces routeur 
peut être fourni par :
 .B --ra-param=eth0,60.
 La durée de vie de la route peut être changée ou mise à zéro, auquel cas
 le routeur peut annoncer les préfixes mais pas de route :
-.B --ra-parm=eth0,0,0
+.B --ra-param=eth0,0,0
 (une valeur de zéro pour l'intervalle signifie qu'il garde la valeur par 
défaut).
 Ces quatre paramètres peuvent être configurés en une fois :
 .B --ra-param=eth0,mtu:1280,low,60,1200
-- 
2.20.1


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] [PATCH] Fix typo in ra-param man page section

2019-01-02 Thread Christian Weiske
Hello,


>  man/dnsmasq.8| 2 +-
>  man/fr/dnsmasq.8 | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git man/dnsmasq.8 man/dnsmasq.8

Is there anything I can do to get this patch merged?

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Adding wildcard entries for DHCP lease host names

2016-01-26 Thread Christian Weiske

Hello,


To make it easy to share links to locally-installed web projects on 
developer machines (accessible via "projectname.devmachine"), I want
to have dnsmasq automatically create wildcard entries for the host names 
of DHCP leases.


For example, when a dev machine requests an IP via DHCP and sends its 
preferred hostname "foo" in the request, dnsmasq should respond to DNS 
requests to "projectname.foo" with the IP of the foo machine.


We're using dhcpd as DHCP server, and through the "--dhcp-leasefile" 
option, dnsmasq already automatically creates DNS entries for the machines.


I then configured dhcpd to run a script whenever a lease is handed out 
or removed. The script generates a dnsmasq configuration file which 
contains the wildcard configuration.[1]


After this is done, I have to restart dnsmasq to make it pick up the new 
the configuration file.


This is where the problem lies: Restarting dnsmasq takes a second or so, 
and in the result DNS resolving for clients takes ~5-6 seconds in the 
worst case.


I already read that simply reloading all configuration files while 
dnsmasq is running is not possible[2] (as of 2004).


Now my questions:

1. Has this changed in the meantime? Can I make dnsmasq reload the
   configuration without restarting?

2. Is there a different approach I could use to achieve my goal of
   wildcard DNS entries for DHCP'd machines?


[1] http://cweiske.de/tagebuch/dns-wildcard-dhcp.htm
[2] 
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2004q4/02.html


--
Regards,
Christian Weiske

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss