Tuesday, January 18, 2011

BIND Tips


DNS:  BIND Tips

Application: BIND
Configuration Location: /var/named/
Create zone file for the Baskar.com like this vi baskar.com.zone
 
Sample Eg:
 
$TTL 86400
@              IN              SOA              @  root.baskar.com (
                                          2 ; serial
                                          28800 ; refresh
                                          7200 ; retry
                                          604800 ; expire
                                          86400 ; ttl
                                          )
 
@              IN              NS              172.21.1.205.
 
@              IN              MX              5              172.21.1.205.
 
@              IN              A              172.21.1.205
 
www              IN              CNAME              @
 
zone Entry
 
              we have to add the zone entry for the baskar.com like this in the /etc/named.conf
 
Sample Eg:
 
zone "baskar.com" IN {
        type master;
        file "baskar.com.zone";
              allow-update {none;};
};

No comments:

Post a Comment