Create the forward zone file for your domain "emc.world":
[root@dlp ~]# vi /var/named/emc.world.lan
Add the following content to the file:
$TTL 86400
@ IN SOA dlp.emc.world. root.emc.world. (
2022011101 ; Serial
3600 ; Refresh
1800 ; Retry
604800 ; Expire
86400 ; Minimum TTL
)
; define Name Server
IN NS dlp.emc.world.
; define Name Server's IP address
IN A 10.0.0.30
; define Mail Exchanger Server
IN MX 10 dlp.emc.world.
; define each IP address of a hostname
dlp IN A 10.0.0.30
www IN A 10.0.0.31
Create the reverse zone file for your network "10.0.0.0/24":
[root@dlp ~]# vi /var/named/0.0.10.db
Add the following content to the file:
$TTL 86400
@ IN SOA dlp.emc.world. root.emc.world. (
2022011101 ; Serial
3600 ; Refresh
1800 ; Retry
604800 ; Expire
86400 ; Minimum TTL
)
; define Name Server
IN NS dlp.emc.world.
; define each hostname of an IP address
30 IN PTR dlp.emc.world.
31 IN PTR www.emc.world.