On 08/03/2018 10:29 AM, Wojtek Swiatek wrote:
Le ven. 3 août 2018 à 16:24, Simon Kelley <si...@thekelleys.org.uk> a écrit :

    After you've made changes to /etc/hosts, you need to send SIGHUP to the
    dnsmasq process to get it to re-read the file. That  should also
    increment the serial. Changes to DHCP allocated addresses should also
    increment the serial.

Thank you. I restart the dnsmasq via

systemctl restart dnsmasq


this is not a SIGHUP... the following is one correct way... it is chosen for ease and not needing to find the process' PID...

  pkill -SIGHUP dnsmasq


here is another way... slightly more complicated because it does look up the 
PID...

  kill -SIGHUP ${pidof dnsmasq}


you may need to use sudo if you're doing these manually from the command line... you can use the signal name or number... the following will show you the list of signals, their numbers and a brief description...

  man 7 signal


HTH


--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list unless*
       *a signed and pre-paid contract is in effect with us.*

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

Reply via email to