diff --git a/sisr1/tp03/srv-dns2-ge/named.conf.local b/sisr1/tp03/srv-dns2-ge/named.conf.local index dc57d68..82e1bfa 100644 --- a/sisr1/tp03/srv-dns2-ge/named.conf.local +++ b/sisr1/tp03/srv-dns2-ge/named.conf.local @@ -4,17 +4,22 @@ // zone directe zone "monlabo.lan" { - type master; - file "/etc/bind/db.monlabo.lan"; + type slave; + file "/etc/bind/db.monlabo.lan"; + masters { 172.16.0.1; }; + masterfile-format text; }; // zone inverse zone "0.16.172.in-addr.arpa" { - type master; - notify no; - file "/etc/bind/db.monlabo.lan.rev"; + type slave; + notify no; + file "/etc/bind/db.monlabo.lan.rev"; + masters { 172.16.0.1; }; + masterfile-format text; }; + // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; diff --git a/sisr1/tp03/srv-dns2-ge/named.conf.options b/sisr1/tp03/srv-dns2-ge/named.conf.options index 2273cea..61d68c2 100644 --- a/sisr1/tp03/srv-dns2-ge/named.conf.options +++ b/sisr1/tp03/srv-dns2-ge/named.conf.options @@ -10,10 +10,10 @@ options { // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. - forwarders { + forwarders { 10.121.38.7; 10.121.38.8; - }; + }; //======================================================================== // If BIND logs error messages about the root key being expired, diff --git a/sisr1/tp03/srv-dns2-ge/resolv.conf b/sisr1/tp03/srv-dns2-ge/resolv.conf new file mode 100644 index 0000000..70b715d --- /dev/null +++ b/sisr1/tp03/srv-dns2-ge/resolv.conf @@ -0,0 +1,3 @@ +domain monlabo.lan +search monlabo.lan +nameserver 172.16.0.2