[ALUG] Hostname and DNS Configurations

Hamisi Jabe administrator at banana.co.tz
Fri Nov 18 10:37:17 EAT 2016


Dear All,

I need to clerify from you experts on the below mis interpretation in my 
mind about dns server and hostname.


Lets take for example i have a domain example.com and i have pointed the 
domain to a host called host1.example.com and host2.example.com as its 
dns servers,

My point is:-

On the Hosts host1 and host2 dns zones configuration for example.com, do 
we create zones for host1.example.com and host2.example.com first then 
zone for example.com or!!!!

Which is the best practice here


See example below if its correct for forward zone file.

**************************************************************************

$TTL 604800

@ IN SOA example.com. root.example.com. (

             20160831 ; Serial

             10m ; Refresh

             10m ; Retry

             4w ; Expire

             10m ) ; Negative Cache TTL

@         IN     NS           host1.example.com.

@         IN     A             196.249.X.X

@         IN     MX     0   host1.example.com.

***************************************************************************


Many thanks



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.habari.co.tz/pipermail/linux/attachments/20161118/057506d0/attachment.html>


More information about the Linux mailing list