Re: What hostname do you use on your computer?

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

 



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

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

So now sendmail hangs on startup for about 2 minutes. There must be something else to set?

Thanks,

knute...

[knute@knute ~]$ hostname
knute

[knute@knute ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1     localhost.localdomain   localhost
192.168.3.5     knute

[knute@knute ~]$ cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=knute
[knute@knute ~]$

--

Knute Johnson

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