Discussion Locked

Configuration DNS and other services

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How to configure files below in Linux box, in
case there are two network interface cards
and private IP address are 1) 10.28.3.254;
2) 10.28.4.254. Services: www, ftp, and mail.
The files:
Domain.hosts (The full zone file)
Domain.reverse
Localhost.zone
Named.local

7 replies

by madhumurty

you need to create 2 files for 2 domains represented by both the nic cards in /etc/named.conf..it would look something like this:
zone "x.domain.com" IN {
type master;
file "xdom.com";
};
zone "y.domain.com" IN {
type master;
file "ydom.com";
}
zone "3.28.10.in-addr.arpa" IN {
type master;
file "10.28.3";
};
zone "4.28.10.in-addr.arpa" IN {
type master;
file "10.28.4";
};
and create xdom.com and ydom.com and 10.28.3 and 10.28.4 and then define the ip addresses of all machines on the either subnets in the corresponding files.you can also define the ip address of the ftp,www server with an MX record to the mail server...any problem understanding me..let me know by mail
mm

by deyev

Thank you! I guess, this is that I was looking for. After my vaction I'll use it example.

This discussion is closed to new replies.