Old 24th February 2006, 13:13
sashi sashi is offline
Junior Member
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISP Server Configuration

Hi everyone,

Good day to all..

I was wondering if it is possible to run apache, ftp, telnet, mail server,samba and DNS on the same linux (fedora 4) box? I managed to install F4 on the system curretnly configured with 2 NIC's

eth0 : LAN IP
eth1 : Static IP

I have a valid domain name and a static IP provided by my service provider.

lets assume that
domain name : xxx.com.my
ip of eth0 : aaa.aaa.aaa.aaa
ip of eth1 : bbb.bbb.bbb.bbb
subnet : ccc.ccc.ccc.ccc
gateway : ddd.ddd.ddd.ddd

DNS (provided by my ISP)
NS1 : eee.eee.eee.eee
NS1 : fff.fff.fff.fff

steps that i took
1.) edited named.conf under /var/named/chroot/etc
2.) created 2 zones, respectively a forward as well as a reverse zone
3.) named the forward zone file as xxx.com.my.zone
4.) named the reverse zone file as 111-111-111.zone
5.) edited those newly created zone files under the
6.) issued the command > chkconfig named on
7.) issued the command > service named start

The problem is that when i issued the nslookup on the forward zone, i seems to get the correct reply, when i issued the nslookup on the reverse zone am still getting the reply from my isp's dns server. Is this correct and is this how it is suppose to work?

Am a little unsure about the DNS installation n configuration, i have attached a copy of my named.conf. forward zone file and also my reverse zone file.
Am un able to receive any mail and unable to telnet to the SMTP port(25)

Can someone pls check these files so that i can correct my mistake as well as learn something alien to me.

thanks is advance guys..

1.) changed my /etc/resolv.conf as below

domain xxx.com.my
search xxx.com.my
nameserver (LAN IP)

2.) added this portion to my named.conf

zone "xxx.com.my" IN {
type master;
notify no;

allow-query { any };
allow-update { none; };

file "xxx.com.my.zone";

zone "1.168.192.in-addr-arpa" IN {
type master;
notify no;

allow-query { any };
allow-update { none; };

file "192-168-1.zone";

3.) created the forward zone file as

@ IN SOA ns1.xxx.com.my. hostmaster.xxx.com.my. (
2006022401 ;

NS www ;
xxx.com.my. MX 10 mail ;

localhost A
xxx.com.my. A bbb.bbb.bbb.bbb (External IP)

ns1 CNAME xxx.com.my.
www CNAME xxx.com.my.
mail CNAME xxx.com.my.
ftp CNAME xxx.com.my.

3.) created the reverse zone file as

@ IN SOA www.xxx.com.my. hostmaster.xxx.com.my. (

NS www;

13 PTR bbb.bbb.bbb.bbb (External IP)

please do let me know about where i went wrong.. thanks a lot..

Last edited by sashi; 24th February 2006 at 13:15.
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 20:29
server blocked/stopped by host Ovidiu Technical 11 14th February 2006 11:50
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30

All times are GMT +2. The time now is 00:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.