Re: Simple hostname -f question

Jim Cheetham <[email protected]>
Newsgroups gmane.org.user-groups.linux.dunedin.general
Message-ID <CA+2knqtGF3V+WQZiE2LvSE6czRsX35jd9WvVt92ubBxaU2-X9A@mail.gmail.com>
Your host knows what name is has - 'susan'
hostname -f tries to discover the FQDN by using your resolver
/etc/resolv.conf says "look in /etc/hosts"
/etc/hosts now has an entry matching the name 'susan'
This entry has a domain name in first entry (the other entries on the
same line are aliases)
Result ... hostname -f works.

_______________________________________________
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.