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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux