Eric on 22 Oct 2009 11:15:57 -0700

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

[PLUG] hostname fqdn not working as I'd expect

My Ubuntu 8.10 workstation is giving me a pain in the network 

After fixing the config for nullmailer I started getting emails that
were being sent out by my own system.  A lot of these are bounces
because the "from" address is root@ursa.ursa    Why is that?

root@ursa:~# hostname
root@ursa:~# hostname --long
root@ursa:~# hostname --fqdn
root@ursa:~# domainname

So, how come the options --long or --fqdn don't give the right answer? 
Is this related to the ursa.ursa thing?

NOTE:  I have set this workstation to use a static IP address:
NOTE: The command: domainname
  prompted me to install NIS.  I had a problem binding to YP
  until I edited /etc/default/nis and swapped true and false for
  the NISSERVER and NISCLIENT variables per this:
[Why do I even NEED NIS?  I have a server on my network that handles
DNS... shouldn't that cover it?]

Here is /etc/hostname:
root@ursa:~# cat /etc/hostname

Here is  /etc/hosts:
root@ursa:~# cat /etc/hosts       localhost      ursa      polaris

Here is /etc/resolv.conf:
root@ursa:~# cat /etc/resolv.conf
# Generated by NetworkManager

TIA for any information.


#  Eric Lucas
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --