First sync
This commit is contained in:
5
07-DNS/resolv.conf
Normal file
5
07-DNS/resolv.conf
Normal 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
20
07-DNS/script.sh
Normal 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}"
|
Reference in New Issue
Block a user