Hi

 

Why can’t I get the fqdn on my box?

 

The man hostname says

 

The complete FQDN of the system is returned with hostname --fqdn.

 

But when I do it I just get the hostname

 

 

[EMAIL PROTECTED] root]# hostname --fqdn

server1

[EMAIL PROTECTED] root]# hostname

server1

[EMAIL PROTECTED] root]# domainname

example.com

[EMAIL PROTECTED] root]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1       localhost  localhost.localdomain

192.168.0.254   server1 server1.example.com

 

 

 

 

Reply via email to