From 2c0d700be0e8b0a50631308a7b64f0813d7c8bc4 Mon Sep 17 00:00:00 2001 From: tierce Date: Tue, 27 Feb 2018 08:45:36 +0100 Subject: [PATCH] =?UTF-8?q?fichier=20d=C3=A9plac=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit suite au nettoyage du wiki, passe de documentation\infra\... à infra\... --- documentation/infra/reverse_DNS.md | 56 ------------------------------ 1 file changed, 56 deletions(-) delete mode 100644 documentation/infra/reverse_DNS.md diff --git a/documentation/infra/reverse_DNS.md b/documentation/infra/reverse_DNS.md deleted file mode 100644 index affc3ac..0000000 --- a/documentation/infra/reverse_DNS.md +++ /dev/null @@ -1,56 +0,0 @@ - -Il y a un petit script de e-Jim pour ajouter un record PTR (reverse DNS) - -Il peut être appelé, sur la VM web, via la commande suivante: -```bash - /opt/dyndns/dyndns.sh -``` -Pour l'instant, le serveur DNS à utliser est le 172.31.1.253 (interface interne du serveur DNS de Neutrinet) - -Exemple: -```bash -/opt/dyndns/dyndns.sh 80.67.181.163 brique.e-jim.be 172.31.1.253 -``` - -Le script retourne différents codes: - - -- 0 - Tout s'est bien passé, merci. -- 1 - Le premier argument n'a pas l'air d'être une IP, ni v4 ni v6. -- 2 - Le second arguement n'a pas l'air d'être un nom de domaine valide. -- 3 - Le troisième argument semble n'être ni une ip ni un nom de domaine. -- 4 - Le nom de domaine ne se résout pas dans l'IP indiquée. [1] -- 5 - nsupdate (l'outil utilisé par derrière) a retourné une erreur. -- 33 - Il n'y a pas le bon nombre d'arguments (3) - -[1] C'est une limitation qui n'est pas obligatoire, mais qui est souvent implementée dans ce genre de service. Ça peut s'adapter. - --------------------- - - -There is a small script that -updates the reverse record for a given ip address. - -It can be called on the web VM as -```bash -/opt/dyndns/dyndns.sh - -``` -For the moment, the DNS server is 172.31.1.253 (I just set up this -argument for more modularity in the future). - -It can have those different return codes: - -- 0 - All went fine, thank you. -- 1 - First argument is not a valid IP (either v4 or v6) -- 2 - Second argument is not a valid domain name -- 3 - The third argument is not a valid DNS server name or IP -- 4 - The chosen domain name doesn't resolve into the given IP. [1] -- 5 - nsupdate (the tool used behind) returned an error. -- 33 - There are less or more than 3 arguments - -Most of the time, more info can be found in the stdout. - - -I hope this can help someone implement reverse DNS into ISPng (including -the needed verification that the user has administrative rights on the IP). -- GitLab