Re: Simple hostname -f question
Worik Stanton <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.dunedin.general |
|---|---|
| Message-ID | <[email protected]> |
On 23/03/14 12:27, Tom Clark wrote: > 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 Bingo. Thanks. A bit of a magic incantation. I could not find any decent documentation for this! Thanks Worik > > 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/ > -- 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/
signature.asc
(application/pgp-signature, 555 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTLohvAAoJEDgltBsVWtVckAYIAKt+b/wcwZbjixiC0m3POv5y dVUY9IzQvGmafUUMyJHq9afyhkGCroEwqaN1fVJjTXLAmL6vJfoQmdp8s4Sb+vkm D5Sy97vKQr+RndMu0NHPsmi9q0MvWs/fJmPJTeVPYMIwBb3rCB1ALqtIqipQ0iJA mEuse5TJTKMfqO4FSsx/osJi2+bnE8/f453+5QeenKp7CyvosPXtiI13y+1yGvUU pJMRPTaxGAhsY7IGdRA8btkIEkLaTB1nfC9akl3kXMqWhU+dge8Ew1OTawDH/ptn MOB0gQ5ByQhwfNEOYOjkFvZrNa7IX1EyILnhtNZNmf6pNl2UXHQGIWfhcLsSQvs= =J1xJ -----END PGP SIGNATURE-----