Sunday, February 17, 2008

DNS How to add host inside domain

root@:/etc/mail # diff /etc/named.conf /etc/named.conf_as08022007
72,77d71
< zone "host.domain.com" IN {
< type master;
< file "host.domain.com.zone";
< allow-update { none; };
< };
<
root@:/etc/mail #

root@:/var/named # more host.domain.com.zone
$TTL 86400
@ IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

IN NS @
IN A 10.6.100.14

root@:/var/named #

Add reverse if necessary
Restart named