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..com" and
> "ftp..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]"


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..com" and "ftp..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

--- 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..com" and "ftp..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 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..com" and "ftp..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 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..com" and "ftp..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 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 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..com" and "ftp..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 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
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 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-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]"


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: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 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]"


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]"