Home
BIND


    The name server is configured as master by wht_cron.php. WHT includes the following in named.conf as separate file placed in /etc/wht_named


zone "domain1.com" {
    type master;
    file "domain1.com.db";
    notify yes;
};
The zone file looks like that:


$TTL 86400

@    IN    SOA    domain1.com    root.nfusion.net. (
            199602151 ; serial
            28800 ; refresh
            7200 ; retry
            60400 ; expire
            86400 ; ttl
            )


@    IN    A    127.0.0.1
@    IN    NS    nfusion.net.
@    IN    MX    10    nfusion.net.
www    IN    CNAME    domain1.com.


every subdomain inserts a row:

subdomain1    IN    A    192.168.1.2