LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-25-2006, 08:08 AM   #1
marius_vl
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Rep: Reputation: 0
Unhappy DNS public host


Hy,

I have a little problem. I want to set up a server with DHCP, DNS, QVCS, Firewall, for replacement of the actual server.

I've installed Centos 3.4 because I've installed before qvcs on centos and worked just fine. The network must be divided in 3 subnetwork. On eth0 I've made 3 vlan. The problem is that I can't connect this server to internet. I have public ip's. I can't connect this server nighter with a public ip and not even with a vlan ip.

I belive it is a DNS problem. From the working server I can connect to the new one.

The question is how do I put an public ip address of the host on the DNS server to accessible from the internet. About DNS I have experience only with 2000 server.

Thank you.
 
Old 05-26-2006, 07:07 AM   #2
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
It's only a DNS problem if you are able to connect via IP address but not via hostname.

To map a hostname to an IP address, just add an A record to the domain's zone file. Like

Code:
qvcs-server IN A 1.2.3.4
or whatever the name/IP pairing is.

Something tells me, however, that this is not going to resolve your problem. If not, a slightly more detailed description of your setup and what you mean by "connect" (ping? run DNS queries against?)
 
Old 05-27-2006, 01:26 AM   #3
marius_vl
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
I managed to connect to the Internet. It was a routing and a DNS problem. Now I have another one. I've installed the files required for QVCS, I followed the qvcs tutorial, but not entirely, and the problem is that I can't find service qmail, it sais: "command not found", and so, when I try to login on squirrelmail i receive the error "ERROR: Connection dropped by IMAP server."

I have another problem: the routing table. In order to work the internet I introduced anothet route with the command "route add default gw". The problem is that when I restart the network service this route is erased. I couldn't find where to put it and stay there forever.

Thank you.
 
Old 05-27-2006, 06:37 AM   #4
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Quote:
I couldn't find where to put it and stay there forever.
Anything that you want to run again after system reboot, you can add in /etc/rc.d/rc.local. That gets executed after all the other init scripts.
Quote:
I can't find service qmail, it sais: "command not found", and so, when I try to login on squirrelmail i receive the error "ERROR: Connection dropped by IMAP server."
What command is giving you the "command not found" message? Have you installed qmail? What do you have installed for an IMAP service?
 
Old 06-01-2006, 07:05 AM   #5
marius_vl
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
I found the missing package that were not installed for qmail. Tutorials incompleted ...

Can you please recommand me a tutorial for NAT setup? I have two private networks with ip's 192.168.20.1 and 192.168.10.1 and only one public ip.

Thank you
 
Old 06-01-2006, 07:35 AM   #6
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Try this one: http://www.revsys.com/writings/quicktips/nat.html

If that leaves you with questions, I recommend that you open a new thread, as this thread's subject is not going to draw in everyone who could help.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Server (bind9) works on the private network but not in the public one! wjleon Linux - Networking 26 01-24-2009 08:14 PM
Possible? 1 public subnet/1 private; 1 host: traffic out the way it came in? JMCraig Linux - Networking 8 10-17-2005 08:12 PM
Config registar DNS to point to my public IP for web site vdi_nenna Linux - Networking 3 11-23-2004 07:41 AM
two public ips on one nic for home office dns servers rioguia Linux - Networking 12 08-19-2004 03:59 PM
Public DNS Server - Zone Transfer - granitecanyon.com j33px0r Linux - Networking 2 04-14-2004 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration