diff --git a/sisr1/tp03/files_service/db.monlabo.lan b/sisr1/tp03/files_service/db.monlabo.lan index e4baca0..450151c 100644 --- a/sisr1/tp03/files_service/db.monlabo.lan +++ b/sisr1/tp03/files_service/db.monlabo.lan @@ -1,9 +1,6 @@ -; -; BIND data file for local loopback interface -; $TTL 604800 @ IN SOA srv-service-ge.monlabo.lan. root.monlabo.lan. ( - 2635478965 ; Serial + 2635478965 ; Serial 216 ; Refresh 3600 ; Retry 2419200 ; Expire @@ -14,13 +11,15 @@ $TTL 604800 IN A 172.16.0.1 IN A 172.16.0.2 - IN A 172.16.0.254 + IN A 172.16.0.10 IN A 172.16.0.100 - + IN A 172.16.0.254 + srv-service-ge IN A 172.16.0.1 srv-dns2-ge IN A 172.16.0.2 srv-admin-ge IN A 172.16.0.254 pc-cli-ge IN A 172.16.0.100 +pc-secure-ge IN A 172.16.0.10 srvdns IN CNAME srv-service-ge dns IN CNAME srv-service-ge @@ -32,5 +31,6 @@ router IN CNAME srv-admin-ge pc IN CNAME pc-cli-ge client IN CNAME pc-cli-ge pccli IN CNAME pc-cli-ge +pcsecure IN CNAME pc-secure-ge srvdns2 IN CNAME srv-dns2-ge dns2 IN CNAME srv-dns2-ge diff --git a/sisr1/tp03/files_service/db.monlabo.lan.rev b/sisr1/tp03/files_service/db.monlabo.lan.rev index 0d673fe..d9380af 100644 --- a/sisr1/tp03/files_service/db.monlabo.lan.rev +++ b/sisr1/tp03/files_service/db.monlabo.lan.rev @@ -12,18 +12,14 @@ $TTL 604800 IN NS srv-service-ge.monlabo.lan. IN NS srv-dns2-ge.monlabo.lan. - IN A 172.16.0.1 - IN A 172.16.0.2 - IN A 172.16.0.254 - IN A 172.16.0.100 +1 IN PTR srv-service-ge.monlabo.lan. +2 IN PTR srv-dns2-ge.monlabo.lan. +10 IN PTR pc-secure-ge.monlabo.lan. +100 IN PTR pc-cli-ge.monlabo.lan. +254 IN PTR srv-admin-ge.monlabo.lan. srv-service-ge IN A 172.16.0.1 srv-dns2-ge IN A 172.16.0.2 srv-admin-ge IN A 172.16.0.254 pc-cli-ge IN A 172.16.0.100 - - -1 IN PTR srv-service-ge.monlabo.lan. -2 IN PTR srv-dns2-ge.monlabo.lan. -100 IN PTR pc-cli-ge.monlabo.lan. -254 IN PTR srv-admin-ge.monlabo.lan. +pc-secure-ge IN A 172.16.0.10 diff --git a/sisr1/tp03/files_service/dhcpd.conf b/sisr1/tp03/files_service/dhcpd.conf index 28e7502..edf08bb 100644 --- a/sisr1/tp03/files_service/dhcpd.conf +++ b/sisr1/tp03/files_service/dhcpd.conf @@ -33,8 +33,7 @@ subnet 172.16.0.0 netmask 255.255.255.0 { range 172.16.0.100 172.16.0.200; option routers 172.16.0.254; option domain-name "monlabo.lan"; - option domain-name-servers 172.16.0.1; - option domain-name-servers 172.16.0.2; + option domain-name-servers 172.16.0.1, 172.16.0.2; } # This declaration allows BOOTP clients to get dynamic addresses, @@ -71,6 +70,11 @@ host srv-dns2-ge { hardware ethernet 08:00:27:8e:f7:39; fixed-address 172.16.0.2; } + +host pc-secure-ge { + hardware ethernet 08:00:27:01:99:b3; + fixed-address 172.16.0.10; +} # Fixed IP addresses can also be specified for hosts. These addresses # should not also be listed as being available for dynamic assignment. # Hosts for which fixed IP addresses have been specified can boot using diff --git a/sisr1/tp03/files_service/resolv.conf b/sisr1/tp03/files_service/resolv.conf new file mode 100644 index 0000000..93b6764 --- /dev/null +++ b/sisr1/tp03/files_service/resolv.conf @@ -0,0 +1,3 @@ +domain monlabo.lan +search monlabo.lan +nameserver 127.0.0.1