[enh] dns_resolver: add command to restart dnsmasq.

This commit is contained in:
Moul 2017-03-02 12:07:12 +01:00
parent 98fe299cab
commit 1e1d4ba636
2 changed files with 11 additions and 3 deletions

View file

@ -18,7 +18,11 @@ request subnet-mask, broadcast-address, time-offset, routers,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
```
Apply this modification by rebooting the server.
Apply this modification by rebooting the DNS server:
```bash
service dnsmasq restart
```
(TODO: It's possible to restart a service to take into account the modification -DHCP?-, but didn't work for me).
It's possible to do same modification in all machine in local network by replacing *127.0.0.1* by IP server.

View file

@ -20,7 +20,11 @@ request subnet-mask, broadcast-address, time-offset, routers,
rfc3442-classless-static-routes, ntp-servers;
```
Afin de prendre en compte la modification, redémarrer le serveur.
Afin de prendre en compte la modification, redémarrer le serveur DNS :
```bash
service dnsmasq restart
```
(TODO : il doit être possible de reconfigurer à chaud, mais ça na pas fonctionné).
Il est possible de faire la même modification sur toutes vos machines du réseau local en remplaçant 127.0.0.1 par lIP de votre serveur.