First sync

This commit is contained in:
2025-04-16 15:40:42 +02:00
parent 2a85dc2240
commit 76d0b4a98a
26 changed files with 970 additions and 2 deletions

5
07-DNS/resolv.conf Normal file
View File

@ -0,0 +1,5 @@
nameserver 10.78.56.8
nameserver 10.78.56.9
search fr.dgs.group
domain fr.dgs.group

20
07-DNS/script.sh Normal file
View File

@ -0,0 +1,20 @@
#!/bin/sh
# Pour la configuration DNS
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NOCOLOR='\033[0m'
echo "${YELLOW} ** ${NOCOLOR} Début du script : 07-DNS"
echo "${NOCOLOR}"
echo "${YELLOW} * ${NOCOLOR} Configuration DNS"
echo "${NOCOLOR}"
cp 07-DNS/resolv.conf /etc/resolv.conf >> /dev/null
echo "${YELLOW} * ${NOCOLOR} Configuration DNS : ${GREEN} OK"
echo "${NOCOLOR}"
echo "${YELLOW} ** ${NOCOLOR} Fin du script : 07-DNS"
echo "${NOCOLOR}"