Date: Wed, 27 Apr 2005 13:59:46 -0700 From: "Shyam Shantikumar" <skshyam@hotmail.com> To: <freebsd-net@freebsd.org> Subject: Configuring a test domain (Internal domain) Message-ID: <BAY106-DAV9F73D453C813F5549EBC3B9220@phx.gbl>
next in thread | raw e-mail | index | archive | help
Dear all,
I am a novice when it comes to setting up a dns domain in FreeBSD. I am
trying to set up this domain called "simple" only for 2 machines in my
internal network.
This is my db.domain file
$TTL 3h
simple. in SOA
LDAPSERVER.simple. (
1
3h
1h
1w
ih )
simple. in NS
LDAPSERVER.simple.
localhost.simple. in A 10.1.3.197
shyam.simple in A 10.1.3.195
This is the db.address file for reverse resolution.
$TTL 3h
simple. in SOA
LDAPSERVER.simple. (
1
3h
1h
1w
ih )
simple. in NS
LDAPSERVER.simple.
localhost.simple. in A 10.1.3.197
shyam.simple in A 10.1.3.195
This is the named.conf file
key "rndc-key" {
algorithm "hmac-md5";
secret "ho7if1SMtvTZ4vSj2dY2Alt3HHKIvX6yT2CA1nY4Yn0=";
};
controls {
inet 127.0.0.1 port 953 allow {localhost;} keys {rndc-key;};
};
options {
directory "/etc/namedb";
pid file "var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
forwarders {
10.1.3.1;
};
zone "." {
type hint;
file "db.cache";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "db.127.0.0";
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.arpa"$
type master;
file "master/localhost-v6.rev";
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.int"$
type master;
file "master/localhost-v6.rev";
};
zone "simple" in {
type master;
file db.simple";
};
zone "3.1.10.in-addr.arpa" {
type master;
file "db.10.1.3";
};
Please bear with me if I have made any stupid mistakes on the configuration.
Thanx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY106-DAV9F73D453C813F5549EBC3B9220>
