what to do after an IP change
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Tue Aug 3 01:10:59 UTC 2004
Am Di, den 03.08.2004 schrieb Ben Vitale um 2:42:
> Hi,
> If my cable provider changes my IP while the computer is running, what
> can I do to update my local hostname? e.g., the part after bvitale..
>
> [bvitale at pcp0010126256pcs ~]$
>
> The reason I ask is because after the IP change, sendmail no longer
> forwarded my local LogWatch messages properly, because it was trying to
> send from a hostname that was no longer valid.
> Ben
That is the wrong question or strategy. Give your Fedora host a name
other than localhost and there is no more dynamic hostname change
/etc/sysconfig/network --> HOSTNAME=foo.bar.baz
And reflect your hostname in the /etc/hosts file too for IP mapping.
Alexander
--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.6-1.435.2.3.ad.umlsmp
Serendipity 03:08:47 up 2 days, 8:33, load average: 0.09, 0.15, 0.15
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040803/938194ec/attachment-0001.sig>
More information about the fedora-list
mailing list