Changes

Jump to: navigation, search

OPS335 DNS Lab

30 bytes removed, 22:02, 29 January 2012
Edit /etc/named.conf
*Create the file /var/lib/named/localhost.zone and enter the following:
$TTL 3D
@ IN SOA f16<learnid>.org. <learnid>@.<learnid> . (
1 ; Serial
8H ; Refresh
$TTL 604800
@ IN SOA localhostf16<learnid>. rootorg.localhost<learnid>@.<learnid>. (
1 ; Serial
604800 8H ; Refresh 86400 2H ; Retry 2419200 1W ; Expire 604800 1D ); Negative Cache TTL
;
@ IN NS localhostf16.
f16 IN A 192.168.X.1
vm01 IN A 192.168.X.2
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 8H ; Refresh 86400 2H ; Retry 2419200 1W ; Expire 604800 1D ); Negative Cache TTL
;
@ IN NS localhostf16.
1 IN PTR f16.<learnid>.org.
2 IN PTR vm01.<learnid>.org.
*Try a few lookups:
host f16.<learnid>.org
host vm01.<learnid>.org host vm02.<learnid>.org host vm03.<learnid>.org host cbc.ca
*Now try a few reverse lookups:
host 192.168.X.1
host 192.168.X.2 host 192.168.X.3 host 192.168.X.4
===Perform these steps on your Intranet machine===
1
edit

Navigation menu