Find every instance of hostname

Anne Wilson cannewilson at tiscali.co.uk
Sat Aug 26 21:37:53 UTC 2006


On Saturday 26 August 2006 22:25, David G. Miller wrote:
>
> Check the settings in the following files:
>
> /etc/sysconfig/network-scripts/ifcfg-<dev> for DHCP_HOSTNAME
> This should be just the host name you want.
>
> /etc/sysconfig/network for HOSTNAME
> This should be the FQDN.
>
> If these are not set and the hostname command still gives
> "localhost.localdomain" then this is probably a hard-coded default.  You
> should be able to not set DHCP_HOSTNAME and just use a generated
> hostname from the DHCP server.  You also might want to retry the grep
> with just localhost or just localdomain.  The search you did will only
> match localhost.localdomain; not just one or the other.
>
Yes, they had been checked.  The cause turned out to be a deliberate change to 
postfix.  It was necessary to tell postfix to NOT masquerade that specific 
fqdn.

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060826/5a442684/attachment-0001.sig>


More information about the fedora-list mailing list