Re: What hostname do you use on your computer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Nov 2006, Thierry Sayegh De Bellis wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Knute Johnson wrote:
Thierry Sayegh De Bellis wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Knute Johnson wrote:
Thierry Sayegh De Bellis wrote:
Knute Johnson wrote:
If I set my computer to localhost.localdomain then I can relay
mail just fine.  What do you do if you don't have a fixed IP?

Thanks,

hang on....frazmtn.com links to Frazier Mountain Internet Service
is this you or your ISP?


frazmtn.com is my ISP.  I have a couple if fixed IPs, one of which is
hosted as sagebrush.frazmtn.com.


have you thought of having an internal dns setup? For the relaying to
work you'd need to have a dns record for the workstation and at the
moment this machine is not 'resolvable'.
Why don't you just give a hostname that is not a fqdn if you don't run a
DNS server?

- --
(o<    Thierry Sayegh De Bellis, RHCE

OK, so if I just set the hostname to 'knute' then what do I want in my
hosts file, /etc/hosts file and in my /etc/sysconfig/network files?

Thanks,

assuming the machine has a static IP (on your LAN)
/etc/hosts looks like
127.0.0.1 localhost localhost.localdomain
<your IP> 	knute


/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=knute

hth

Some programs may like to have a defined domain name. For my nonroutable home network, I use localdomain as the domain name (IIRC, a reserved name for nonroutable domains). Thus:

/etc/hosts:
127.0.0.1 localhost localhost.localdomain
<your IP>     knute knute.localdomain

/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=knute.localdomain

It's possible that may resolve some DNS lookup issues, though I'm not guaranteeing anything.
--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux