LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS public host (https://www.linuxquestions.org/questions/linux-networking-3/dns-public-host-448406/)

marius_vl 05-25-2006 08:08 AM

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.

zaichik 05-26-2006 07:07 AM

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?)

marius_vl 05-27-2006 01:26 AM

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.

zaichik 05-27-2006 06:37 AM

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?

marius_vl 06-01-2006 07:05 AM

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

zaichik 06-01-2006 07:35 AM

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. ;)


All times are GMT -5. The time now is 08:20 PM.