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

Re: hostname -f: localhost



Am Dienstag, 27. Juni 2006 00:03 schrieb Al Bogner:
> Am Montag, 26. Juni 2006 23:37 schrieb Roland M. Kruggel:
> > Am Montag, 26. Juni 2006 22:52 schrieb Al Bogner:
> > > Hat jemand eine Idee, warum auf 1 Rechner hostname -f: localhost
> > > ergibt, auf allen anderen den FQDN? Wie frage ich alternativ den
> > > FQDN für ein Bash-Script ab?
> >
> > Entweder steht localhost in der /etc/hostname oder in der /etc/hosts
> > steht hinter deiner IP localhost.
>
> /etc/hosts
> 127.0.0.1 localhost client3
> 192.168.1.103 client3.local.FQDN client3
>
> ::1 ip6-localhost ip6-loopback
>
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
>
>
> cat /etc/hostname
> sv

Sorry, vom Thread nebenan falsch kopiert. Auf sv ist ja alles ok.

cat /etc/hostname
client3

Al



Reply to: