On Tue, May 15, 2001 at 08:05:53PM -0400, Dr. Jon R. Fox wrote: > A lot of my mail gets bounced back with since my machine doesn't have a fqdn (mail looks like its from rsifox@ . > Netenv has a DOMAIN= setting, but this doesn't seem to affect > # hostname --fqdn > rsifox > > how do I get it to represent my fully qualified domain name at work? Hmm, unsure about netenv's fqdn features... however, I think the fqdn simply comes from your /etc/hosts. The first name on the relevant line for your machine becomes your fqdn... # cat /etc/hostname baboon # hostname --fqdn baboon.wilgenhof.sun.ac.za # grep baboon /etc/hosts 146.232.176.87 baboon.wilgenhof.sun.ac.za baboon If I edit /etc/hosts and swap the two, hostname --fqdn returns "baboon", instead of baboon.wilgenhof.sun.ac.za... So you need to either directly edit /etc/hosts, or figure out how it is set up if it isn't "static". Hugo van der Merwe -- To send me private (non-world-readable) mail, GPG encrypt it. 1024D/60715698: 5F2E 8EC2 E0A4 5D25 0569 F281 4A6C D76D 6071 5698
Attachment:
pgpEpOxe35R5w.pgp
Description: PGP signature