- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi,
here is my prob :
I've a server named "serval"
domain : "d2i.fr"
ip addr : "195.28.198.254"
this server act as a web server and a mail server.
(OS: RedHat 6.0, sendmail 8.9.3 (pop3),
BIND 8)
this server is also his own primary dns server, and another machine in another domain is the secondary dns server.
the dns server is declared to the NIC as www.d2i.fr ; 195.28.198.254
the server will act as a web server for numerous domains, and as a mail server for these same domains.
Each mail server should have, as name, mail.domain.com (i.e. mail.d2i.fr)
and web-site should be reached in my server by www.domain.com
for exemple : lvl-medical.fr will be hosted by serval.d2i.fr and mail server should be mail.lvl-medical.fr
What I need is a step by step method to configure dns files
Thanks, Jacoby.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: ezleePosted on 1999-12-15 at 07:57:58ID: 2283781
Hi, Jacoby
)and nameserver2.
You could just run "linuxconf" to config your dns server, mail server, and Apache server. "linuxconf" will automatically change the necessary files like "/etc/hostname, /named/conf, /var/named.ca etc.".
First you should run "setup" to activate the "named" daemon. Then, run "linuxconf", in "basic host infomation", give the host name of "serval.d2i.fr" and the IP address of 195.28.198.254. In "Name Server specifications", give the default domain "d2i.fr", and the IP address of nameserver1(195.28.198.254
If your server is not connected directly to the internet, just provide the default gateway address. Then give the correct "Host name search path".
While configuring the DNS server, add the host "serval" and give it CNAME of "www" and "mail". So that when people try to connect to "www.d2i.fr" or send email to "someone@mail.d2i.fr", they will be directed to host "serval.d2i.fr".
For different domain, you could just config the "Apache Web Server" to add "Virtual domains" on it and "Mail delivery system(sendmail) to add "virtual email domain".
You can do all the job under "linuxconf", and you will never be bothered with any dns or sendmail configuration files. hope this will help you.
ez