Question

Basic DNS Question?

Asked by: etherbreeze

I have setup a network which has about 40 Windows 2000 workstations served by SLOX (SuSE Linux Open Exchange) and SLES 9 (SuSE Linux Enterprise Server).

The SLOX server is a domain controller, email server and web server (mail.thecompany.com - for the SLOX web based interface).  I would like for the SLES server to serve the company website (www.thecompany.com).

All of the abovementioned machines are behind the same firewall and on the same switch.

How can I run two websites (or webservers for that matter) if they're behind the same firewall?  The ISP provides us with five Internet IP addresses.  We are currently handling DNS through dyndns.

Also, our domain name is not recognized on the intranet...  In other words, "mail.thecompany.com" doesn't resolve to either the intranet IP address or the Internet IP address.  If we want to go to "mail.thecompany.com" from the Intranet, we have to type the IP address.

If it's any help, the domain name is "thecompany.com" and the mail server machine name is "mail" and the web server machine name is "www".


Thank you in advance!

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-11-01 at 10:57:29ID21190510
Tags

slox

,

mail

,

server

Topic

Linux Networking

Participating Experts
1
Points
250
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

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.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

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.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

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.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Setting up intranet DNS problem?
    I'm trying to set up an intranet site. I've created a dns Host(A) called intranet that resolves to ip x.x.x.50. I can ping intranet and the ip and works fine. In IIS 5 I created a new website called intranet with ip x.x.x.50 and header intranet.mydomain.com but when I go to h...
  2. DYNDNS Updater problem
    I have a friend with the following situation: He had a surveillance camera(s) intalled in his store by a computer consultant (who is no longer available) and the remote portion never worked. He should be able to type in a specific address from any browser and be able to see h...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

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.

Join the Community

Answers

 

by: grbladesPosted on 2004-11-01 at 11:54:23ID: 12466470

Hi etherbreeze,
On your firewall you should be able to redirect port 80 coming into one of your public IP addresses to the IP address of your first webserver. You then do the same for another public IP address and redirect it to your other webserver.

Do you have fixed IP addresses?
If you do then why are you using dyndns?

You can use multiple dynamic IP addresses for the webservers and mail however you really want a static IP address for mail to avoid problems with anti-spam measures blocking your email.

 

by: grbladesPosted on 2004-11-01 at 11:56:01ID: 12466485

With regard to your domain name if you have fixed IP addresses then you simply ask your ISP or whoever manages your domain name to add the entries required.

If you are using multiple dynamic IP addresses then you can add CNAME records to point to your dyndns names.

 

by: etherbreezePosted on 2004-11-01 at 12:06:45ID: 12466589

I have directed port 80 requests to the Intranet IP (10.0.10.20 - which is static) for the mail.thecompany.com server - But, how would I do that for the other web server?

I guess I'm confussed.  I think I may be understanding something wrong.

I have the domain thecompany.com setup with dyndns.
thecompany.com has the IP address of my firewall associated with it.
The firewall (SOHO Watchguard) only has one port 80 forwarding option, which is set to the local IP for the web-based mail server (10.0.10.20)

If there is a way to tell the firewall to forward port 80 requests to two different machines, how would it know which web server to forward the request to?  thecompany.com is one IP address.  Should I have seperate IP addresses associated with MAIL.thecompany.com and WWW.thecompany.com?

 

by: grbladesPosted on 2004-11-01 at 12:16:43ID: 12466707

As you have multiple public IP addresses the firewall should have an option to redirect traffic to IP1 port 80 to one of your servers and redirect traffic to IP2 port 80 to the other server.
If you don't have this option you might need a better firewall but the Watchguard is a very good firewall so should have the option to do this.

You will need to have www.thecompany.com pointing to the IP address you are redirecting to your main company webserver. Then add www2.thecompany.com or whatever you want to call it and point it to the other IP address.

I would recomend that you use a completely separate IP address for email.

 

by: etherbreezePosted on 2004-11-01 at 12:31:32ID: 12466885

This is what I gather so far:

I should have Time Warner handle DNS for us rather than dyndns (I have to make sure they offer a mail exchange service in case our mail server should ever go down)

In addition to the thecompany.com public IP address, I should use one of our public IP addresses for www.thecompany.com and another public IP address for mail.thecompany.com.

If I give the mail and www servers their own public IP addresses, but the firewall has a different public IP address, the requests to mail.thecompany.com and www.thecompany.com won't even go through the firewall, correct?

Do these machines need to be in a DMZ for your suggestions to work?

(If I'm not getting this because I didn't attend Networking 101, I appologize :o)

 

by: grbladesPosted on 2004-11-01 at 12:36:49ID: 12466945

You are correct apart from the fact that the additional IP addresses will go through the firewall. It will just listen of the additional IP addresses on the outside (effectivly it has 3 or 4 addresses).

From a security perspective I would host any servers which are publically available in the DMZ. The reason for this is that the firewall protects them. Even if they are hacked (due to an IIS vulnerability) for example) the firewall still stops that machine from being able to access the rest of your network.

 

by: etherbreezePosted on 2004-11-01 at 21:23:11ID: 12470154

I'm really sorry grblades - I swear I usually catch on much quicker ~

Effectively it has three or four:  Are you saying, I can give a machine on a private network a public IP address?  And by simply doing so, the firewall appears to have three public IP addresses tied to it?

If I give the servers public IP addresses, can I still use the servers for Intranet functions such as file serving or domain control?

Do I even need a DMZ for what I'm doing?  If so, it probably wouldn't be a good idea to use it for file serving, right?

(I really appreciate your help - I think the smoke is starting to clear)

 

by: grbladesPosted on 2004-11-02 at 00:40:15ID: 12470788

You give all the servers IP addresses on the internal network. Then on the firewall you say translate everything coming into 200.200.200.200 for example to your internal machine on 192.168.1.1.
The firewall then listens on 200.200.200.200 in addition to its configured external IP address and any traffic to it will have it's destination IP address changed to 192.168.1.1 and be placed on the internal network. This feature is called NAT (Network Address Translation).

You don't have to use DMZ and initially it would probably be best to get it wirking without a DMZ.
Without a DMZ though you will have to keep all the webservers and mail server regularly updated with regard to security updates. If you dont then it could get hacked and if it does they will have access to your entire internal network.

The only machines which could possibly get hacked are the ones which accept connections from the Internet which are your webservers and the mail server. If you were to put these in the DMZ then the firewall will protect the servers from the internet and also protect your internal network from the servers in the DMZ.

 

by: etherbreezePosted on 2004-11-02 at 05:46:47ID: 12472480

You've been a wonderful help, grblades -

You don't have to answer this, you were already great help with the concern I came here with.

Would it be possible for me to put the SLOX server in the DMZ and make it a webserver for both websites in addition to being a mail server?  Would I be able to associate two public IP addresses with the single machine in the DMZ?  This way, I'd be able to leave the other server on the internal network to serve as a file server.  I would simply give the server on the internal network a private IP, and kill any services running on it...  Would it be practical to have SLOX in a DMZ, if it's my domain controller?

Thanks again for your help!

 

by: grbladesPosted on 2004-11-02 at 06:21:52ID: 12472795

Yes you could put SLOX in the DMZ and in fact that is what I have done in the company I work for.
With regard to hosting both websites you have two choices:-
1) Reconfigure Apache and enable virtual hosting. This is where Apache looks at the URL request and returns the pages depending what site you are requesting. The disadvantage with this approach is that only one website can have a secure section.
2) Add an additional IP address to the servers network card and configure Apache to serve the second website for all requests to this IP address.

By domain controller do you mean your Samba windows file sharing domain controller?
If you do then this is not recomended as it is best to separate out the email system from your central file server for security reasons. It can be done though.

 

by: etherbreezePosted on 2004-11-02 at 06:34:47ID: 12472917

Yes.  I have Samba setup on my SLOX machine, not only for file sharing, but I'm also using LDAP to manage the users, machine trust accounts and service accounts (integrated authentication) for some Mono apps (more of my line of work)...

It seems to me that if I want to go with SLOX in the DMZ, and keep the file server private to the network, I should remove Samba from SLOX, install SAMBA on the private server, and just point Samba to the SLOX ldap directory....

Do you see any problem having a LDAP directory in a DMZ?  Does your SLOX server have LDAP running on it?

If I put the SLOX machine in the DMZ, there's probably a thing or two I should learn about securing sensitive data such as email....

 

by: grbladesPosted on 2004-11-02 at 06:49:12ID: 12473085

Moving Samba onto the local network server and using LDAP off the SLOX machine is a good approach.
Our SLOX server has LDAP but it is only used for normal email. We have a separate Fedora server as our file server.

On SLOX I recomend that you do the following:-
1) In the postfix configuration enable the local recipient maps so that mail to unknown users is rejected instead of being accepted and then bounce messages sent out. Most will be caused by span so if you dont make this change you will have lots of undeliverable email stuck in your mail queue.
2) Use spamassassin and remove the -L parameter from the configuration file in the /etc/sysconfig directory. Doing this turns on DNS lookups and greatly impoves the effectivness of the spam filter.
3) Install the free amavisd-new and clamav from source and you now have a completely free email virus scanner.

 

by: etherbreezePosted on 2004-11-02 at 07:26:54ID: 12473505

grblades, you're awesome!  You've shed so much light on what I'm doing!

Linux hasn't exactly been harnessed where I come from...  I don't know anyone that knows anything about SLOX, or Linux for that matter.

(I hate asking this) Is there a possibility I could direct future SLOX questions your way?  I don't have much to offer other than web development / programming knowledge, but I would be more than willing to help in exchange for your expertise.

You have no idea how much time you've saved me!  Thanks a million!

p.s. any idea how to get the slox demo spell check feature? :o)~

 

by: grbladesPosted on 2004-11-02 at 07:41:21ID: 12473707

Sure. If I don't spot your question you can send me the URL to it via email (my address is in my profile).

Sorry no idea about the spell check feature. I normally use email clients and only use the web interface occasionally.

 

by: etherbreezePosted on 2004-11-03 at 07:06:18ID: 12483756

I thought I would leave a F.Y.I. for anybody who might be trying a similar setup with the WatchGuard SOHO 6 firewall.

After banging my head for several hours trying grblades NAT suggestion, I discovered the WatchGuard SOHO 6 firewall doesn't support static NAT.  As far as I know, the SOHO 6 is only capable of handling one IP address for the external network.  It is possible to have one IP address in the DMZ (only one can be added) and then forward the firewalls public IP to the desired IP on the trusted network.  With this setup, either machine can be accessed from the external network just fine.

The only problem I have with the above setup is accessing the webserver behind the firewall from the trusted network using its domain name.  I have to use the private IP address to access it.  Any time I enter its domain name, SOHO prompts me for a username and password to log me into the firewall admin panel...  Haven't figured out how to get around this one yet ~

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...