Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread Derek Ragona

At 07:19 PM 8/29/2007, Peter Pluta wrote:




Jonathan Horne wrote:

 On Wednesday 29 August 2007 19:05:06 Peter Pluta wrote:
 I have a box with 5 ip's pointing to it. Most of the things I run (http,
 smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
 wondering what the machines hostname should be? By default it's
 localhost.localdomain. This has always confused me from the begining when
 I
 first started using FreeBSD, can anyone chime in? It would greatly
 appreciated.

 Thanks!

 its fairly simple actually.  example:

 my system's name is athena.  my domain, is dfwlp.com... thus my computer
 is
 athena.dfwlp.com.  the hostname command can show you waht your current
 hostname is:

 [EMAIL PROTECTED] ~] $ hostname
 athena.dfwlp.com

 also, there is a line in /etc/rc.conf that specifys the system's hostname
 when
 you start up:

 [EMAIL PROTECTED] ~] $ cat /etc/rc.conf|grep hostname
 hostname=athena.dfwlp.com

 finally, when you are installing freebsd, during the network
 configuration
 page, the Host: box would be where i would put athena, and the
 Domain:
 box would be where i put dfwlp.com (when you set your domain, you dont
 put
 the . in front of the domain name, ie, dont put .dfwlp.com in the domain
 box).

 cheers,
 --
 Jonathan Horne
 http://dfwlpiki.dfwlp.org
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



Right, my current box is mail.placidpublishing.com, I only have 1 box, and
it does web and mail. I just picked placidpublishing and used that since it
was a domain I had laying arond. Is that ok? How does one pick a domain?
Just any old domain? I keep visualizing a domain as in 3-4 servers each of
which has a hostname mail, web, etc..


Pick a domain you own, or buy a new one.  They is why there are so many 
domain possibilities these days, like .info, .biz, etc. in addition to the 
regular .com, .net, .org


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread L Goodwin
I and most of my clients who have hosted web sites
have just the one domain name. Does it make sense to
use the same domain name that your hosted web site
uses for your LAN?

--- Derek Ragona [EMAIL PROTECTED]
wrote:
 Pick a domain you own, or buy a new one.  They is
 why there are so many 
 domain possibilities these days, like .info, .biz,
 etc. in addition to the 
 regular .com, .net, .org



   

Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread Derek Ragona

At 04:20 PM 8/30/2007, L Goodwin wrote:

I and most of my clients who have hosted web sites
have just the one domain name. Does it make sense to
use the same domain name that your hosted web site
uses for your LAN?


Sure does, no reason not to.  The only issue may be having unique machine 
names, but that shouldn't really be too tough.


-Derek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread L Goodwin

--- Derek Ragona [EMAIL PROTECTED]
wrote:

 At 04:20 PM 8/30/2007, L Goodwin wrote:
 I and most of my clients who have hosted web sites
 have just the one domain name. Does it make sense
 to
 use the same domain name that your hosted web site
 uses for your LAN?
 
 Sure does, no reason not to.  The only issue may be
 having unique machine 
 names, but that shouldn't really be too tough.

Do you mean avoid giving any machines on your LAN the
same hostname as the (hosted) web server, mail server
and ftp server? I don't even know what the hostname
for the web server is. The mail and ftp servers are
mail.domainname.com and ftp.domainname.com, so
I guess I would not want to use these.


   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread Peter Pluta



Jonathan Horne wrote:
 
 On Wednesday 29 August 2007 19:19:58 Peter Pluta wrote:
 How does one pick a domain?
 Just any old domain? 
 
 thats often how it goes!  mine was originally dfwlanparty... but dfwlp
 just 
 became the shortend version of what the community referred to it as.  i 
 bought the domain just out of convenience many moons ago :)
 
 I keep visualizing a domain as in 3-4 servers each of 
 which has a hostname mail, web, etc..
 
 fairly close, some times you will actually find servers that actually are 
 named web mail, or have names after services.  myself, i have names
 that 
 ive chosen, and then use DNS to link the common services to them. 
 example, 
 if you do a:
 
 host castor.dfwlp.com
 
 youll find that castor is my server that handles www.dfwlp.com.  so, if
 you 
 have a specific name in mind, dont be afraid to use it!  you can always go 
 back later and use DNS to give your box as many jobs as you need (ie,
 you 
 can DNS both www and mail to the same server, if you need to).
 
 cheers,
 -- 
 Jonathan Horne
 http://dfwlpiki.dfwlp.org
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

Ah ok. I host a few domains on my box, 3 web, and 1 mail. I will just call
my box box(anything).placidpublishing.net and just have dns entries for
mail, www, etc.. to the appropriate domains. That makes more sense. Thanks 

-- 
View this message in context: 
http://www.nabble.com/FreeBSD-Hostname-Question---Whats-The-Proper-Way-tf4351213.html#a12418257
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread Derek Ragona

At 06:29 PM 8/30/2007, L Goodwin wrote:


--- Derek Ragona [EMAIL PROTECTED]
wrote:

 At 04:20 PM 8/30/2007, L Goodwin wrote:
 I and most of my clients who have hosted web sites
 have just the one domain name. Does it make sense
 to
 use the same domain name that your hosted web site
 uses for your LAN?

 Sure does, no reason not to.  The only issue may be
 having unique machine
 names, but that shouldn't really be too tough.

Do you mean avoid giving any machines on your LAN the
same hostname as the (hosted) web server, mail server
and ftp server? I don't even know what the hostname
for the web server is. The mail and ftp servers are
mail.domainname.com and ftp.domainname.com, so
I guess I would not want to use these.


Correct, only use host names that are unique.  Most use some names that 
help identify the machine by the dept, user, etc.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread Derek Ragona

At 07:55 PM 8/30/2007, L Goodwin wrote:


--- Derek Ragona [EMAIL PROTECTED]
wrote:

 At 06:29 PM 8/30/2007, L Goodwin wrote:

 --- Derek Ragona [EMAIL PROTECTED]
 wrote:
 
   At 04:20 PM 8/30/2007, L Goodwin wrote:
   I and most of my clients who have hosted web
 sites
   have just the one domain name. Does it make
 sense
   to
   use the same domain name that your hosted web
 site
   uses for your LAN?
  
   Sure does, no reason not to.  The only issue may
 be
   having unique machine
   names, but that shouldn't really be too tough.
 
 Do you mean avoid giving any machines on your LAN
 the
 same hostname as the (hosted) web server, mail
 server
 and ftp server? I don't even know what the hostname
 for the web server is. The mail and ftp servers are
 mail.domainname.com and ftp.domainname.com,
 so
 I guess I would not want to use these.

 Correct, only use host names that are unique.  Most
 use some names that
 help identify the machine by the dept, user, etc.

Thanks for clearing that up, Derek. It's hard to know
something until you actually _know_ it! :-)


It gets easier with experience.  Doesn't hurt if you do some DNS setups too.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread L Goodwin

--- Derek Ragona [EMAIL PROTECTED]
wrote:

 At 06:29 PM 8/30/2007, L Goodwin wrote:
 
 --- Derek Ragona [EMAIL PROTECTED]
 wrote:
 
   At 04:20 PM 8/30/2007, L Goodwin wrote:
   I and most of my clients who have hosted web
 sites
   have just the one domain name. Does it make
 sense
   to
   use the same domain name that your hosted web
 site
   uses for your LAN?
  
   Sure does, no reason not to.  The only issue may
 be
   having unique machine
   names, but that shouldn't really be too tough.
 
 Do you mean avoid giving any machines on your LAN
 the
 same hostname as the (hosted) web server, mail
 server
 and ftp server? I don't even know what the hostname
 for the web server is. The mail and ftp servers are
 mail.domainname.com and ftp.domainname.com,
 so
 I guess I would not want to use these.
 
 Correct, only use host names that are unique.  Most
 use some names that 
 help identify the machine by the dept, user, etc.

Thanks for clearing that up, Derek. It's hard to know
something until you actually _know_ it! :-)



   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread Jeffrey Goldberg

On Aug 30, 2007, at 6:29 PM, L Goodwin wrote:


Do you mean avoid giving any machines on your LAN the
same hostname as the (hosted) web server, mail server
and ftp server? I don't even know what the hostname
for the web server is. The mail and ftp servers are
mail.domainname.com and ftp.domainname.com, so
I guess I would not want to use these.


I have a minimum of three names for any machine visible to the  
outside world.


(1)  I have the internal name that I give a box.  A few years ago, I  
asked my daughter for help naming machines, and we ended up with a  
Harry Potter theme.  So my primary external server (which has the  
most names) is dobby.ewd.goldmark.org, but that name isn't visible to  
the world.  It's not secret, but I have no intention of having  
anything out side my local network needed to refer to it that way.


(And in the Harry Potter scheme, my three headed firewall is named  
fluffy.)


(2) But there is another name it must also have.  I have a tiny block  
of IP addresses which all had PTR records associated with them like


 static-72-64-118-118.dllstx.fios.verizon.net.

It took more than two hours on the phone to Verizon to get those  
changed, so it was something I only ever wanted to do once, so I have  
names like


   n114.ewd.goldmark.org
   n115.ewd.goldmark.org

and so on.  So dobby is also known of as n118.ewd.goldmark.org

(3) Now dobby runs a couple of public servers.  It runs Apache as  
www.goldmark.org and about half a dozen vhosts.  It also also runs a  
mailserver (postfix) with mailman primarily visible under the name  
lists.shepard-families.org.


So recapping.  One is my quasi-private name for the box itself.  And  
that is what hostname  knows.  Two is a name corresponding the the  
reverse lookup of any public  IP address it might have.  There may be  
several of these if the machine had multiple IP addresses.  And three  
are role names for all of the services it runs.  This way, if I  
want to move a service to a different host, that is relatively easy.


-j



--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-30 Thread L Goodwin

--- Jeffrey Goldberg [EMAIL PROTECTED] wrote:

 On Aug 30, 2007, at 6:29 PM, L Goodwin wrote:
 
  Do you mean avoid giving any machines on your LAN
 the
  same hostname as the (hosted) web server, mail
 server
  and ftp server? I don't even know what the
 hostname
  for the web server is. The mail and ftp servers
 are
  mail.domainname.com and
 ftp.domainname.com, so
  I guess I would not want to use these.
 
 I have a minimum of three names for any machine
 visible to the  
 outside world.
 
 (1)  I have the internal name that I give a box.  A
 few years ago, I  
 asked my daughter for help naming machines, and we
 ended up with a  
 Harry Potter theme.  So my primary external server
 (which has the  
 most names) is dobby.ewd.goldmark.org, but that name
 isn't visible to  
 the world.  It's not secret, but I have no intention
 of having  
 anything out side my local network needed to refer
 to it that way.
 
 (And in the Harry Potter scheme, my three headed
 firewall is named  
 fluffy.)
 
 (2) But there is another name it must also have.  I
 have a tiny block  
 of IP addresses which all had PTR records associated
 with them like
 
   static-72-64-118-118.dllstx.fios.verizon.net.
 
 It took more than two hours on the phone to Verizon
 to get those  
 changed, so it was something I only ever wanted to
 do once, so I have  
 names like
 
 n114.ewd.goldmark.org
 n115.ewd.goldmark.org
 
 and so on.  So dobby is also known of as
 n118.ewd.goldmark.org
 
 (3) Now dobby runs a couple of public servers.  It
 runs Apache as  
 www.goldmark.org and about half a dozen vhosts.  It
 also also runs a  
 mailserver (postfix) with mailman primarily visible
 under the name  
 lists.shepard-families.org.
 
 So recapping.  One is my quasi-private name for the
 box itself.  And  
 that is what hostname  knows.  Two is a name
 corresponding the the  
 reverse lookup of any public  IP address it might
 have.  There may be  
 several of these if the machine had multiple IP
 addresses.  And three  
 are role names for all of the services it runs. 
 This way, if I  
 want to move a service to a different host, that is
 relatively easy.

Thanks, Jeff!


   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Hostname Question - Whats The Proper Way

2007-08-29 Thread Peter Pluta

I have a box with 5 ip's pointing to it. Most of the things I run (http,
smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
wondering what the machines hostname should be? By default it's
localhost.localdomain. This has always confused me from the begining when I
first started using FreeBSD, can anyone chime in? It would greatly
appreciated. 

Thanks! 
-- 
View this message in context: 
http://www.nabble.com/FreeBSD-Hostname-Question---Whats-The-Proper-Way-tf4351213.html#a12398274
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-29 Thread Derek Ragona

At 07:05 PM 8/29/2007, Peter Pluta wrote:


I have a box with 5 ip's pointing to it. Most of the things I run (http,
smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
wondering what the machines hostname should be? By default it's
localhost.localdomain. This has always confused me from the begining when I
first started using FreeBSD, can anyone chime in? It would greatly
appreciated.

Thanks!


I always give my servers a hostname and IP for the base system.  If I add a 
website, I will add another IP (or use apache's virtual hosting on the same 
IP) and add another DNS entry for the system.  You can have more than one 
name for an IP and for a server.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-29 Thread Jonathan Horne
On Wednesday 29 August 2007 19:05:06 Peter Pluta wrote:
 I have a box with 5 ip's pointing to it. Most of the things I run (http,
 smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
 wondering what the machines hostname should be? By default it's
 localhost.localdomain. This has always confused me from the begining when I
 first started using FreeBSD, can anyone chime in? It would greatly
 appreciated.

 Thanks!

its fairly simple actually.  example:

my system's name is athena.  my domain, is dfwlp.com... thus my computer is 
athena.dfwlp.com.  the hostname command can show you waht your current 
hostname is:

[EMAIL PROTECTED] ~] $ hostname
athena.dfwlp.com

also, there is a line in /etc/rc.conf that specifys the system's hostname when 
you start up:

[EMAIL PROTECTED] ~] $ cat /etc/rc.conf|grep hostname
hostname=athena.dfwlp.com

finally, when you are installing freebsd, during the network configuration 
page, the Host: box would be where i would put athena, and the Domain: 
box would be where i put dfwlp.com (when you set your domain, you dont put 
the . in front of the domain name, ie, dont put .dfwlp.com in the domain 
box).

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-29 Thread Peter Pluta



Jonathan Horne wrote:
 
 On Wednesday 29 August 2007 19:05:06 Peter Pluta wrote:
 I have a box with 5 ip's pointing to it. Most of the things I run (http,
 smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
 wondering what the machines hostname should be? By default it's
 localhost.localdomain. This has always confused me from the begining when
 I
 first started using FreeBSD, can anyone chime in? It would greatly
 appreciated.

 Thanks!
 
 its fairly simple actually.  example:
 
 my system's name is athena.  my domain, is dfwlp.com... thus my computer
 is 
 athena.dfwlp.com.  the hostname command can show you waht your current 
 hostname is:
 
 [EMAIL PROTECTED] ~] $ hostname
 athena.dfwlp.com
 
 also, there is a line in /etc/rc.conf that specifys the system's hostname
 when 
 you start up:
 
 [EMAIL PROTECTED] ~] $ cat /etc/rc.conf|grep hostname
 hostname=athena.dfwlp.com
 
 finally, when you are installing freebsd, during the network
 configuration 
 page, the Host: box would be where i would put athena, and the
 Domain: 
 box would be where i put dfwlp.com (when you set your domain, you dont
 put 
 the . in front of the domain name, ie, dont put .dfwlp.com in the domain 
 box).
 
 cheers,
 -- 
 Jonathan Horne
 http://dfwlpiki.dfwlp.org
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

Right, my current box is mail.placidpublishing.com, I only have 1 box, and
it does web and mail. I just picked placidpublishing and used that since it
was a domain I had laying arond. Is that ok? How does one pick a domain?
Just any old domain? I keep visualizing a domain as in 3-4 servers each of
which has a hostname mail, web, etc.. 
-- 
View this message in context: 
http://www.nabble.com/FreeBSD-Hostname-Question---Whats-The-Proper-Way-tf4351213.html#a12398404
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Hostname Question - Whats The Proper Way

2007-08-29 Thread Jonathan Horne
On Wednesday 29 August 2007 19:19:58 Peter Pluta wrote:
 How does one pick a domain?
 Just any old domain? 

thats often how it goes!  mine was originally dfwlanparty... but dfwlp just 
became the shortend version of what the community referred to it as.  i 
bought the domain just out of convenience many moons ago :)

 I keep visualizing a domain as in 3-4 servers each of 
 which has a hostname mail, web, etc..

fairly close, some times you will actually find servers that actually are 
named web mail, or have names after services.  myself, i have names that 
ive chosen, and then use DNS to link the common services to them.  example, 
if you do a:

host castor.dfwlp.com

youll find that castor is my server that handles www.dfwlp.com.  so, if you 
have a specific name in mind, dont be afraid to use it!  you can always go 
back later and use DNS to give your box as many jobs as you need (ie, you 
can DNS both www and mail to the same server, if you need to).

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hostname Question

2006-02-06 Thread Graham Bentley
Is there any differnce in the way 6.0 resolves
its own hostname compared to 5.2 ?

I just noticed in phpsysinfo the hostname is
being outputted as the IP address ?

# hostname does in fact show the correct 
hostname.domain name of the machine.

I have tried the same version of phpsysinfo
(as I had on 5.2) as well as the most recent 
port and the result is the same. 

I checked rc.conf which is correct.

Its not of great importance but I just was
wondering about it ...

Thanks!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: hostname question

2003-11-26 Thread fbsd_user
Assigning an Host name to your FBSD system.
Your FBSD operating system has internal software applications (like
sendmail for one) that needs to know the fully qualified domain name
of the PC it's running on. You do this by adding this option
statement   hostname=to /etc/rc.conf.

This is the format to use.

thisPCname.fakeDOMAINname.tld


Where thisPCname came be any name you want to identify this
particular pc on your LAN. Since the goal is to build an FBSD
gateway server, the name of this PC should be gateway.

Where .fakeDOMAINname  can be any name you want as long as it's not
an registered domain name on the public internet unless it's
registered to you. Using FBSDyourlastname is an safe fake domain
name to use here. So if my name is Tom Jones, I would use fbsdjones.

Where .tld can be any of the standard TLD's currently in use. Such
as .com or .usa or .info or .cc, but since .com is the most commonly
used TLD, I recommend using .com

Gateway.fbsdjones.com is an very acceptable fake host name to use.

1. ee /ect/rc.conf   edit file
2. add this option statement to file
hostname=Gateway.fbsdjones.com
3. save your changed file
4. reboot

When the reboot stops at the login prompt, the line displayed just
above it will now contain your host name you just added to rc.conf.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bryan
Cassidy
Sent: Tuesday, November 25, 2003 7:50 PM
To: [EMAIL PROTECTED]
Subject: hostname question

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I got a quick question (just one for this minute).

I was told I should add a hostname. (my domain name maybe?
bsdjunky.dyndns.org? Will that do?) He said I should put an entry in
/etc/hosts that maps the IP of your box to the hostname you gave it.
Then put that hostname into main.cf. How would I go about adding a
hostname to /etc/hosts that maps the IP of my box? I use DHCP if
that
matters. Never added anything to /etc/hosts before so don't know the
syntax or anything about what I should add. Just add simply on the
first
line without any whitespaces bsdjunky.homeunix.org or something
else?

Thanks,
Bryan

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/w/jL3TDgpNGRSLARAhtSAJ0cPwzWA+vVNKJaeCAF0B+B0+xTXACgwFC2
dZI7IPZ01EuGONY/kqOp+dI=
=H4Wk
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hostname question

2003-11-26 Thread Lowell Gilbert
Bryan Cassidy [EMAIL PROTECTED] writes:

 I was told I should add a hostname. (my domain name maybe?
 bsdjunky.dyndns.org? Will that do?)

So far, this could mean several things.  hostname(1) should have a
reasonable idea of the host's name, if possible.

 He said I should put an entry in
 /etc/hosts that maps the IP of your box to the hostname you gave it.

There's not necessarily any need for this.  DNS should resolve it
properly, if a bit slower.  Some applications will require a reverse
mapping (cvsup comes to mind), but if the real DNS is correct, you
don't need hosts to do that.

 Then put that hostname into main.cf.

There's no standard file by that name.  Maybe you're configuring
postfix?  In that case it's a postfix question, but again, editing
hosts is usually only necessary if there's a DNS mapping missing.

  How would I go about adding a
 hostname to /etc/hosts that maps the IP of my box? I use DHCP if that
 matters.

Putting your hostname on the loopback address (127.0.0.1) is usually a
good idea.

  Never added anything to /etc/hosts before so don't know the
 syntax or anything about what I should add. 

man 5 hosts
or read what's already in the file.

 Just add simply on the first
 line without any whitespaces bsdjunky.homeunix.org or something else? 

An IP address, whitespace, and one or more DNS names.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hostname question

2003-11-25 Thread Bryan Cassidy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I got a quick question (just one for this minute).

I was told I should add a hostname. (my domain name maybe?
bsdjunky.dyndns.org? Will that do?) He said I should put an entry in
/etc/hosts that maps the IP of your box to the hostname you gave it.
Then put that hostname into main.cf. How would I go about adding a
hostname to /etc/hosts that maps the IP of my box? I use DHCP if that
matters. Never added anything to /etc/hosts before so don't know the
syntax or anything about what I should add. Just add simply on the first
line without any whitespaces bsdjunky.homeunix.org or something else? 

Thanks,
Bryan
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/w/jL3TDgpNGRSLARAhtSAJ0cPwzWA+vVNKJaeCAF0B+B0+xTXACgwFC2
dZI7IPZ01EuGONY/kqOp+dI=
=H4Wk
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]