From a76f58646770ce99df2f49c37ec17ea90d93c0e8 Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Fri, 20 May 2022 19:43:35 +0200 Subject: [PATCH] instructions --- Readme.md | 5 +++++ dns.sh | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 Readme.md create mode 100644 dns.sh diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..8f731c1 --- /dev/null +++ b/Readme.md @@ -0,0 +1,5 @@ +À partir du fichier dns, récupérez la listes des machines et des ip + +Faire en sorte que le nom des machines soit débarassé du point final + +pilote1.formation.opendoor.fr**.** devient pilote1.formation.opendoor.fr diff --git a/dns.sh b/dns.sh new file mode 100644 index 0000000..f40ae40 --- /dev/null +++ b/dns.sh @@ -0,0 +1,22 @@ +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py NAME. PUBLIC A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py debian7.formation.opendoor.fr. 163.172.158.119 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py debian6.formation.opendoor.fr. 51.15.201.103 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py debian5.formation.opendoor.fr. 51.15.211.95 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py debian4.formation.opendoor.fr. 163.172.172.88 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py debian3.formation.opendoor.fr. 51.158.69.16 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py debian2.formation.opendoor.fr. 51.15.132.39 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py debian1.formation.opendoor.fr. 51.15.140.161 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py centos7.formation.opendoor.fr. 51.15.252.251 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py centos6.formation.opendoor.fr. 212.47.238.184 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py centos5.formation.opendoor.fr. 51.15.228.204 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py centos4.formation.opendoor.fr. 51.15.224.225 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py centos3.formation.opendoor.fr. 51.158.67.29 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py centos2.formation.opendoor.fr. 51.158.100.115 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py centos1.formation.opendoor.fr. 163.172.185.67 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py pilote7.formation.opendoor.fr. 51.15.203.21 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py pilote6.formation.opendoor.fr. 51.15.133.128 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py pilote5.formation.opendoor.fr. 51.15.242.2 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py pilote4.formation.opendoor.fr. 51.158.125.159 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py pilote3.formation.opendoor.fr. 51.15.195.253 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py pilote2.formation.opendoor.fr. 51.158.112.97 A +python /home/tom/Documents/Opendoor/Developpement/Ovh/create_new_CNAME.py pilote1.formation.opendoor.fr. 51.15.241.220 A \ No newline at end of file