mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
[enh] dns_resolver: add command to restart dnsmasq.
This commit is contained in:
parent
98fe299cab
commit
1e1d4ba636
2 changed files with 11 additions and 3 deletions
|
@ -18,7 +18,11 @@ request subnet-mask, broadcast-address, time-offset, routers,
|
||||||
netbios-name-servers, netbios-scope, interface-mtu,
|
netbios-name-servers, netbios-scope, interface-mtu,
|
||||||
rfc3442-classless-static-routes, ntp-servers;
|
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).
|
(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.
|
It's possible to do same modification in all machine in local network by replacing *127.0.0.1* by IP server.
|
||||||
|
|
|
@ -20,7 +20,11 @@ request subnet-mask, broadcast-address, time-offset, routers,
|
||||||
rfc3442-classless-static-routes, ntp-servers;
|
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 n’a pas fonctionné).
|
(TODO : il doit être possible de reconfigurer à chaud, mais ça n’a 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 l’IP de votre serveur.
|
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 l’IP de votre serveur.
|
||||||
|
|
Loading…
Reference in a new issue