Thursday, April 7, 2011

Cache DNS config

Refer :

File named.conf.options
options {
directory "/var/cache/bind";
forwarders {
x.x.x.x; DNS IP
x.x.x.x; DNS 2 IP
};

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};

File named.conf
zone "domain.local" {
type master;
file "/etc/bind/zones/domain.local.db";
notify no;
};

zone "x.x.x.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.x.x.x.in-addr.arpa";
notify no;
};

File /etc/bind/zones/domain.local.db
$TTL 3D
@ IN SOA ns.domain.local. admin.domain.local. (
2010011001
28800
3600
604800
38400
);
domain.local. IN NS ns.domain.local.
ns IN A x.x.x.x
abc IN A x.x.x.x

File /etc/bind/zones/rev.x.x.x.in-addr.arpa
$TTL 3D
@ IN SOA ns.domain.local. admin.domain.local. (
201001101
28800
604800
604800
86400
)
IN NS ns.domain.local.

Related Posts:

  • Give the name to local DNS Server// Zone file in -> /etc/bind/named.conf add thiszone "cache-sa.local" {type master;file "/etc/bind/cache-sa.local.db";notify no;};// In file -> … Read More
  • Cache DNS configRefer : http://serverfault.com/questions/220974/bind9-dns-ubuntu-names-pingible-on-server-but-not-on-windows-machines http://www.tech-faq.com/dns-cach… Read More

0 comments:

Post a Comment