RE: [LUNI] Multiple servers, 1 IP

From: Erich Kolb (ekolb@randbreceivables.com)
Date: Mon Mar 26 2001 - 16:37:09 CST

  • Next message: Arun K.: "Re: [LUNI] Multiple servers, 1 IP"

    I though that there was a way to assign the name to the zone record? For
    example:
    ftp.mydomain.com. IN CNAME servername.
    Will it determine the internal net IP address and foward data like this?

    -----Original Message-----
    From: owner-luni@luni.org [mailto:owner-luni@luni.org]On Behalf Of
    Martin Maney
    Sent: Monday, March 26, 2001 3:21 PM
    To: luni@luni.org
    Subject: Re: [LUNI] Multiple servers, 1 IP

    On Mon, Mar 26, 2001 at 01:05:04PM -0600, Erich Kolb wrote:
    > I have been assigned 1 static ip address from my DSL provider. I have
    > sucessfully setup my personal website on a Linux server using apache. I
    have
    > another server on my LAN that I would like to be assigned as something
    like
    > ftp.mydomain.com. How do I do this with only 1 IP address? Should I add
    a
    > CNAME in my DNS records? If so, what is the proper syntax?

    You can overload as many different names as you like on that single IP
    address, but you can have only one machine with that address assigned to a
    network interface. Splitting separate functions at one IP address off to
    multiple servers isn't a big problem, but the tool you're looking for is
    port forwarding. FTP, however, is a little messier than most services,
    because it wants to open that pesky data connection on an unpredictable port
    number...

    You do have a firewall/NAT machine setup, right? If not, go grab the
    IP-Masquerade-HOWTO and give it a once-over. Come to think of it, a
    situation like yours might even be discussed in the current version.

    BTW, you do know that the same FTP server (and logins accepted, and all
    that) will answer to a connection from a client asking for any of the
    aliases? HTTP can multiplex based on name, but FTP, like the majority of
    internet services, assumes that the server-side is "named" by its IP
    address, and has no way to know what FQDN was used in forming the original
    connection request, if any.

    -=-
    Linux Users Of Northern Illinois: General Discussion Mailing list.
    For unsubscription, archives, and announcements only see http://luni.org

    -=-
    Linux Users Of Northern Illinois: General Discussion Mailing list.
    For unsubscription, archives, and announcements only see http://luni.org



    This archive was generated by hypermail 2b29 : Mon Mar 26 2001 - 16:40:25 CST

  •