From 908ad8929a4d5e98e0c472f8a4710a425cac0ac0 Mon Sep 17 00:00:00 2001 From: kload Date: Sun, 7 Dec 2014 21:44:39 +0100 Subject: [PATCH] [enh] Use dnsmasq instead of bind9 --- domain.py | 2 +- locales/en.json | 2 +- locales/fr.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/domain.py b/domain.py index b1b1dd169..87cd4f6ae 100644 --- a/domain.py +++ b/domain.py @@ -267,7 +267,7 @@ def domain_remove(auth, domain, force=False): os.system('yunohost app ssowatconf > /dev/null 2>&1') os.system('service nginx reload') - os.system('service bind9 reload') + os.system('service dnsmasq restart') os.system('service metronome restart') msignals.display(m18n.n('domain_deleted'), 'success') diff --git a/locales/en.json b/locales/en.json index d42bf4e6d..14283c2c6 100644 --- a/locales/en.json +++ b/locales/en.json @@ -47,7 +47,7 @@ "domain_dyndns_root_unknown" : "Unknown DynDNS root domain", "domain_cert_gen_failed" : "Unable to generate certificate", "domain_exists" : "Domain already exists", - "dnsmasq_isnt_installed" : "dnsmasq does not seem to be installed, please run 'apt-get remove bind9 && apt-get install dnsmasq'" + "dnsmasq_isnt_installed" : "dnsmasq does not seem to be installed, please run 'apt-get remove bind9 && apt-get install dnsmasq'", "domain_zone_exists" : "DNS zone file already exists", "domain_zone_not_found" : "DNS zone file not found for domain {:s}", "domain_creation_failed" : "Unable to create domain", diff --git a/locales/fr.json b/locales/fr.json index f206e7eec..2280a3de3 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -47,7 +47,7 @@ "domain_dyndns_root_unknown" : "Domaine DynDNS principal inconnu", "domain_cert_gen_failed" : "Impossible de générer le certificat", "domain_exists" : "Le domaine existe déjà", - "dnsmasq_isnt_installed" : "dnsmasq ne semble pas être installé, veuillez lancer 'apt-get remove bind9 && apt-get install dnsmasq'" + "dnsmasq_isnt_installed" : "dnsmasq ne semble pas être installé, veuillez lancer 'apt-get remove bind9 && apt-get install dnsmasq'", "domain_zone_exists" : "Le fichier de zone DNS existe déjà", "domain_zone_not_found" : "Fichier de zone DNS introuvable pour le domaine {:s}", "domain_creation_failed" : "Impossible de créer le domaine",