Wednesday, May 4, 2011

Give the name to local DNS Server

// Zone file in -> /etc/bind/named.conf add this
zone "cache-sa.local" {
type master;
file "/etc/bind/cache-sa.local.db";
notify no;
};

// In file -> /etc/bind/cache.local.db add this
$TTL 3D
@ IN SOA ns.cache.local. admin.cache.local. (
2010011012
28800
3600
604800
38400 )

cache.local. IN NS ns.cache.local.

ns.cache.local. IN A X.X.X.X

Related Posts:

0 comments:

Post a Comment