assusming the i correctly understood your question :)
designate 1 computer to act as your dns server and edit the named.conf
file
here's a sample config of my /etc/named.conf (afaik, this is the location in
redhat) ..... i'm a newbie myself, so please forgive me kung medyo
malabo ako magexplain. anyway, hth
btw, im using bind-9.1.3
options {
directory "/var/named";
forwarders {
// the dns servers of your isp ... for the external IPs
//primary DNS
xxx.xxx.xxx.xxx;
//secondary DNS
xxx.xxx.xxx.xxx;
};
query-source address * port 53;
listen-on {
//local network
192.168.1.0/24;
};
};
zone "." IN {
type hint;
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
file "named.ca";
};
; THE FF. is for your local domain
; REVERSE FILE for LOCAL IPs
zone "1.168.192.in-addr.arpa" {
type master;
file "primary/rev/db.192.168.1";
};
; FORWARD FILE for local domains
zone "ubaguio.net" {
type master;
file "primary/fwd/db.mylocaldomain.com";
};
--------
University of Baguio
General Luna Road
Baguio City
Philippines 2600
Phone: +63 74 4423540
Fax: +63 74 4423071
http://www.ubaguio.edu
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]