1
edit
Changes
→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
;
@ IN NS localhostf16.
f16 IN A 192.168.X.1
vm01 IN A 192.168.X.2
@ IN SOA localhost. root.localhost. (
1 ; Serial
;
@ IN NS localhostf16.
1 IN PTR f16.<learnid>.org.
2 IN PTR vm01.<learnid>.org.
*Try a few lookups:
host f16.<learnid>.org
*Now try a few reverse lookups:
host 192.168.X.1
===Perform these steps on your Intranet machine===