Change of FQDN

2005-07-18 Thread Robert Slade
Hiya,

Just a quick question, I need to change the domain name of a machine
running 5.4. I see that it is set when the machine boots up but I can't
find out where is is set.

Rob

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


Re: Change of FQDN

2005-07-18 Thread estover
> Hiya,
>
> Just a quick question, I need to change the domain name of a machine
> running 5.4. I see that it is set when the machine boots up but I can't
> find out where is is set.
>
> Rob
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

I think your thinking the hostname? if so, in the "/etc/rc.conf" there is
a line that says hostname. Remember to check your /etc/hosts as well so
you may get your log files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Change of FQDN

2005-07-18 Thread Aaron Peterson
> Just a quick question, I need to change the domain name of a machine
> running 5.4. I see that it is set when the machine boots up but I can't
> find out where is is set.
> 
> Rob

Generally in /etc/rc.conf

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


Re: Change of FQDN

2005-07-18 Thread Kövesdán Gábor

Robert Slade wrote:


Hiya,

Just a quick question, I need to change the domain name of a machine
running 5.4. I see that it is set when the machine boots up but I can't
find out where is is set.

Rob

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


You can change it in /etc/rc.conf or via sysinstall.

Cheers,

Gábor Kövesdán
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Change of FQDN

2005-07-18 Thread Gary W. Swearingen
Aaron Peterson <[EMAIL PROTECTED]> writes:

> hostname="www.mydomain.com"

Say I have two Ethernet ports and I'd like to be gary.mydomain.com on
one and gary2.mydomain.com or gary.mydomain2.com on the other; then
what?

A computer's domain name is set in several places -- not always the
same values.  Most commonly they're in DNS servers and /etc/hosts and,
of course, the computer's kernel as set by the "hostname" command (eg,
using /etc/rc.conf's "hostname" variable).  But since there's only one
"hostname" setting, which can't always match all the others, it's
never made sense to me to set "hostname" to any public Internet domain
name.  (And I never have, IIRC.)

And according to BCP-32, at http://www.rfc-editor.org/rfc/rfc2606.txt,
"localhost" is the traditional top-level domain name "pointing to the
loop back IP address" (which I think of as the 127/24 network), and it
should be used to help keep broken DNS software from using any bogus
domain on the Internet except well-known ones like "localhost".

Though the "hostname" command allows use of a top-level domain, other
software doesn't (eg, "sendmail"), so it seems that a good domain is
"something.localhost", where "something" may be "localhost", which
might avoid some problems with broken software, or something more
creative and maybe assigned uniquely to each of a group of computers.
It is not used in the public (or maybe even a private) DNS system,
except as an identifier for log files.

Am I missing something?  It's quite likely.  What other software
than sendmail needs my single "hostname" and when?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Change of FQDN

2005-07-18 Thread Aaron Peterson
On 7/18/05, Gary W. Swearingen <[EMAIL PROTECTED]> wrote:
> Aaron Peterson <[EMAIL PROTECTED]> writes:
> 
> > hostname="www.mydomain.com"
> 
> Say I have two Ethernet ports and I'd like to be gary.mydomain.com on
> one and gary2.mydomain.com or gary.mydomain2.com on the other; then
> what?
> 
> A computer's domain name is set in several places -- not always the
> same values.  Most commonly they're in DNS servers and /etc/hosts and,
> of course, the computer's kernel as set by the "hostname" command (eg,
> using /etc/rc.conf's "hostname" variable).  But since there's only one
> "hostname" setting, which can't always match all the others, it's
> never made sense to me to set "hostname" to any public Internet domain
> name.  (And I never have, IIRC.)
> 
> And according to BCP-32, at http://www.rfc-editor.org/rfc/rfc2606.txt,
> "localhost" is the traditional top-level domain name "pointing to the
> loop back IP address" (which I think of as the 127/24 network), and it
> should be used to help keep broken DNS software from using any bogus
> domain on the Internet except well-known ones like "localhost".
> 
> Though the "hostname" command allows use of a top-level domain, other
> software doesn't (eg, "sendmail"), so it seems that a good domain is
> "something.localhost", where "something" may be "localhost", which
> might avoid some problems with broken software, or something more
> creative and maybe assigned uniquely to each of a group of computers.
> It is not used in the public (or maybe even a private) DNS system,
> except as an identifier for log files.
> 
> Am I missing something?  It's quite likely.  What other software
> than sendmail needs my single "hostname" and when?

Setting your public dns names on your dns servers and possibly in
/etc/hosts is probably a better option depending on your goals.  An
arbitrary hostname has been fine for me in all cases.  Do whatever
accomplishes your goals.

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


Re: Change of FQDN

2005-07-19 Thread Ivailo Tanusheff
You should check /etc/rc.conf and /etc/hosts
Also check every service you are using - in their config files you may 
also have FQDN
And after that check your log files for any errors, reported by the system 
and services :)

Ivailo Tanusheff
Senior System administrator
ProCredit Bank (Bulgaria) AD

tel. +359 2 921 7161
fax +359 2 921 7110
http://www.procreditbank.bg


Disclaimer: The information contained in this message is intended solely 
for the use of individual or entity to whom it is addressed and other 
authorized to receive it. It may contain confidential or legally 
privileged information. If you are not the intended recipient you are 
hereby notified that any disclosure, copying, distribution or taking any 
action in reliance on the contents of this message is strictly prohibited 
and may be unlawful. If you have received this communication in error, 
please notify us immediately by responding to this email and then delete 
it from your system. ProCredit Bank is neither liable for the proper and 
complete transmission of the information contained in this message nor for 
any delay in its receipt. 



Robert Slade <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
07/18/2005 08:10 PM

To
"freebsd-questions@freebsd.org" 
cc

Subject
Change of FQDN






Hiya,

Just a quick question, I need to change the domain name of a machine
running 5.4. I see that it is set when the machine boots up but I can't
find out where is is set.

Rob

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

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