diff --git a/sisr1/tp03/srv-dns2-ge/db.monlabo.lan b/sisr1/tp03/srv-dns2-ge/db.monlabo.lan index e4baca0..03287fc 100644 --- a/sisr1/tp03/srv-dns2-ge/db.monlabo.lan +++ b/sisr1/tp03/srv-dns2-ge/db.monlabo.lan @@ -1,6 +1,4 @@ -; -; BIND data file for local loopback interface -; +$ORIGIN . $TTL 604800 @ IN SOA srv-service-ge.monlabo.lan. root.monlabo.lan. ( 2635478965 ; Serial @@ -16,6 +14,8 @@ $TTL 604800 IN A 172.16.0.2 IN A 172.16.0.254 IN A 172.16.0.100 + +$ORIGIN monlabo.lan. srv-service-ge IN A 172.16.0.1 srv-dns2-ge IN A 172.16.0.2 diff --git a/sisr1/tp03/srv-dns2-ge/db.monlabo.lan.rev b/sisr1/tp03/srv-dns2-ge/db.monlabo.lan.rev index 0d673fe..ca1b0a4 100644 --- a/sisr1/tp03/srv-dns2-ge/db.monlabo.lan.rev +++ b/sisr1/tp03/srv-dns2-ge/db.monlabo.lan.rev @@ -1,6 +1,4 @@ -; -; BIND data file for local loopback interface -; +$ORIGIN . $TTL 604800 @ IN SOA srv-service-ge.monlabo.lan. root.monlabo.lan. ( 2635478965 ; Serial @@ -12,18 +10,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 +$ORIGIN 0.16.172.in-addr.arpa. + +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. 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.