f5a0f6a Ticket 47893 - should use Sys::Hostname instead Net::Domain

Authored and Committed by mreynolds 9 years ago
    Ticket 47893 - should use Sys::Hostname instead Net::Domain
    
    Bug Description: hostfqdn function does not always return the correct fqdn.
                     Sometimes it incorrectly adds ".com" when it should not.
    
    Fix Description: Use Sys::Hostname/hostname() which does return the correct
                     fqdn.
    
    https://fedorahosted.org/389/ticket/47893
    
    Reviewed by: rmeggins(Thanks!)