{{tag>tutoriel}} ====== Dnsmasq ====== ===== Pré-requis ===== ===== Première étape ===== **Dnsmasq** : FIXME Erreur : failed to create listening socket for port 53: Adresse déjà utilisée FIXME - **Installez [[apt>dnsmasq]]** nicolas@chateau:~$ sudo apt install dnsmasq Lecture des listes de paquets... Fait Construction de l'arbre des dépendances... Fait Lecture des informations d'état... Fait Paquets suggérés : resolvconf Les NOUVEAUX paquets suivants seront installés : dnsmasq 0 mis à jour, 1 nouvellement installés, 0 à enlever et 2 non mis à jour. Il est nécessaire de prendre 18,7 ko dans les archives. Après cette opération, 95,2 ko d'espace disque supplémentaires seront utilisés. Réception de :1 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 dnsmasq all 2.86-1.1ubuntu0.1 [18,7 kB] 18,7 ko réceptionnés en 0s (78,8 ko/s) Sélection du paquet dnsmasq précédemment désélectionné. (Lecture de la base de données... 282660 fichiers et répertoires déjà installés. ) Préparation du dépaquetage de .../dnsmasq_2.86-1.1ubuntu0.1_all.deb ... Dépaquetage de dnsmasq (2.86-1.1ubuntu0.1) ... Paramétrage de dnsmasq (2.86-1.1ubuntu0.1) ... Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /l ib/systemd/system/dnsmasq.service. Job for dnsmasq.service failed because the control process exited with error cod e. See "systemctl status dnsmasq.service" and "journalctl -xeu dnsmasq.service" for details. invoke-rc.d: initscript dnsmasq, action "start" failed. × dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset : enabled) Active: failed (Result: exit-code) since Sat 2022-09-03 14:35:11 CEST; 16ms ago Process: 148067 ExecStartPre=/etc/init.d/dnsmasq checkconfig (code=exited, s tatus=0/SUCCESS) Process: 148075 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, sta tus=2) CPU: 51ms sept. 03 14:35:11 chateau systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server... sept. 03 14:35:11 chateau dnsmasq[148075]: dnsmasq: failed to create listening s ocket for port 53: Adresse déjà utilisée sept. 03 14:35:11 chateau dnsmasq[148075]: failed to create listening socket for port 53: Adresse déjà utilisée sept. 03 14:35:11 chateau dnsmasq[148075]: IMPOSSIBLE de démarrer sept. 03 14:35:11 chateau systemd[1]: dnsmasq.service: Control process exited, c ode=exited, status=2/INVALIDARGUMENT sept. 03 14:35:11 chateau systemd[1]: dnsmasq.service: Failed with result 'exit- code'. sept. 03 14:35:11 chateau systemd[1]: Failed to start dnsmasq - A lightweight DH CP and caching DNS server. - Créez avec les droits d'administration le fichier : address=/framboise.parc/192.168.0.31 address=/chateau.parc/192.168.0.1 ===== Autres étapes ===== ===== Conclusion ===== ===== Problèmes connus ===== ===== Voir aussi ===== * **(en)** [[http://]] * **(fr)** [[http://]] ---- //Basé sur << [[http://|ARTICLE]] >> par AUTEUR.//