From 69a4ea09e50164a387f0a37bbf2dcef35bb91be6 Mon Sep 17 00:00:00 2001 From: "timeo.collado" Date: Mon, 3 Feb 2025 11:05:52 +0100 Subject: [PATCH] fichier du dns1 --- sisr1/tp02-dns/dns1/named.conf.options | 26 -------------------------- sisr1/tp02-dns/dns1/resolv.conf | 4 ++++ 2 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 sisr1/tp02-dns/dns1/named.conf.options create mode 100644 sisr1/tp02-dns/dns1/resolv.conf diff --git a/sisr1/tp02-dns/dns1/named.conf.options b/sisr1/tp02-dns/dns1/named.conf.options deleted file mode 100644 index 874fbb0..0000000 --- a/sisr1/tp02-dns/dns1/named.conf.options +++ /dev/null @@ -1,26 +0,0 @@ -options { - directory "/var/cache/bind"; - - // If there is a firewall between you and nameservers you want - // to talk to, you may need to fix the firewall to allow multiple - // ports to talk. See http://www.kb.cert.org/vuls/id/800113 - - // If your ISP provided one or more IP addresses for stable - // nameservers, you probably want to use them as forwarders. - // Uncomment the following block, and insert the addresses replacing - // the all-0's placeholder. - - forwarders { - 192.168.0.121; //ici forwader DNS redouane - 192.168.0.141; //ici forwader DNS aboulaï - 10.121.38.7; //ici forwader DNS lycee - }; - - //======================================================================== - // If BIND logs error messages about the root key being expired, - // you will need to update your keys. See https://www.isc.org/bind-keys - //======================================================================== - dnssec-validation no; - - listen-on-v6 { any; }; -}; diff --git a/sisr1/tp02-dns/dns1/resolv.conf b/sisr1/tp02-dns/dns1/resolv.conf new file mode 100644 index 0000000..da654c0 --- /dev/null +++ b/sisr1/tp02-dns/dns1/resolv.conf @@ -0,0 +1,4 @@ +domain sio-tc.lan +search sio-tc.lan +nameserver 127.0.0.1 +nameserver 10.121.38.7