Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2002 04:41:12 +0800 (SGT)
From:      Zhifu <limdorj@singnet.com.sg>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Problem: dynamic IP static hostname
Message-ID:  <1019421672.3cc323e875c30@flounder.singnet.com.sg>

next in thread | raw e-mail | index | archive | help
Hi, I am new to BSD environment. how do you subscribe/reply to the mailing list of freebsd-question?

Specifically to my problem, I am asked to setup a BSD box which can plug into any network point that assigns the box a dynamic IP address. The box will act as a webserver to serve out intranet application as well as FTP server. I face the following problems:
1) How to configure /etc/hosts to map the dynamic IP to the hostname.
2) I am unable to PING <HOSTNAME> from other Windows 
terminal but i can do PING <IP ADDRESS>
3) What should I put in /etc/rc.conf for hostname=
I need the hostname in order to serve let other users access the box but I cannot use redirectional services from the internet or ask the network admin to assign me a specific address. I need to come up with a plug and play box.

Thank you in advance.



On Sunday 21 April 2002 06:28 am, Zhifu wrote:
> Hi, I am a newbie. I am puzzled on how to configure a hostname to the
> dynamic IP that I am assigned to in the network. I intend to use the BSD
> box as a FTP server. I am using FreeBSD 4.4 Stable.

Go here: http://www.dyndns.org/
Sign up for a resolvable name using one of the many domains they
offer.
Use that name as your FQDN of your freebsd box.
Go to the clients section of that web site and download and
make ez-ipupdate and compile it.  Works well with freebsd.

Each time you dynamically assigned ip changes, the tiny client
updates the dns servers ad dyndns.org and you have a
resolvable host name with a dynamic ip.  

Its really nice for home machines where buying a static
is not cost justified.
-- 
_________________________________________________
No I Don't Yahoo!
And I'm getting pretty sick of being asked if I do.
_________________________________________________
John Andersen / Juneau Alaska

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1019421672.3cc323e875c30>