Re: Simple hostname -f question

Tom Clark <[email protected]>
Newsgroups gmane.org.user-groups.linux.dunedin.general
Message-ID <CAEHe7uMWLiUgq-_bUNSBv4jmJFxh7VXMT0PGup2OgWYjwmtPiA@mail.gmail.com>
This is more of an educated guess rather than an authoritative answer, but
I'd suggest appending the hostname "susan" to the appropriate line in
/etc/hosts, like so:

128.199.199.128 susan.killmartha.com susan
127.0.0.1       localhost test

Cheers,
Tom


On Sun, Mar 23, 2014 at 11:32 AM, Worik Stanton <[email protected]>wrote:

> I am configuring a VPS
>
> I have a domain (killmartha.com) that points to it and works fine.
>
> I am trying to install qmail, but I get ab error:
>
> "The hostname -f command returned: $1"
>
> hostname -f from the command line returns "hostname: Name or service not
> known"
>
> Searching the Internet leaves me more confused than I started.
>
> I have a /etc/hosts file:
>
> cat /etc/hosts
> 128.199.199.128 susan.killmartha.com
> 127.0.0.1       localhost test
>
> (plus some IPV6 stuff)
>
> and my hostname file:
>
> $ cat /etc/hostname
> susan
>
> I am a bit perplexed and lost!  What have I done wrong?
>
> W
>
>
> --
> The only true evil is turning people into things....
>                                          Granny Weatherwax
>        [email protected] 021-1680650, (03) 4821804
>                           Aotearoa (New Zealand)
>
>
> _______________________________________________
> DunLUG mailing list
> [email protected]
> http://lists.ethernal.org/listinfo/dunlug
> DunLUG Wiki - http://dunlug.kallisti.net.nz/
>

_______________________________________________
DunLUG mailing list
[email protected]
http://lists.ethernal.org/listinfo/dunlug
DunLUG Wiki - http://dunlug.kallisti.net.nz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.