47 lines
723 B
Plaintext
47 lines
723 B
Plaintext
3. marche pas
|
|
|
|
I
|
|
1. uname -r
|
|
5.15.62-1-lts
|
|
|
|
2. less /etc/os-release
|
|
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
|
|
NAME="Debian GNU/Linux"
|
|
VERSION_ID="9"
|
|
VERSION="9 (stretch)"
|
|
VERSION_CODENAME=stretch
|
|
ID=debian
|
|
|
|
1. il est là
|
|
|
|
2. elles sont là
|
|
|
|
II
|
|
|
|
sudo hcp eno:test.txt .
|
|
sudo hcp . eno:/test.txt
|
|
|
|
III
|
|
|
|
1.
|
|
root@osiris:/usr/share/doc/bind9# gunzip README.Debian.gz
|
|
sudo hcp osiris:/usr/share/doc/bind9/README.Debian DOC
|
|
3.
|
|
named-checkzone tp.scr db.tp.scr
|
|
4.
|
|
dans named.conf.local
|
|
|
|
-----------------------
|
|
|
|
ss -na = ouvrir le port 53
|
|
|
|
machine du serveur:
|
|
- dans le /etc/resolv.conf:
|
|
domain tp.scr
|
|
nameserver 192.168.1.158
|
|
|
|
machine du maitre:
|
|
- /etc/resolv.conf
|
|
- /etc/bind/db.tp.scr
|
|
- /etc/bind/db.tp.scr.inv
|