hostname FQDN

thufir hawat.thufir at gmail.com
Fri Feb 12 10:12:32 UTC 2016


Why does the --all-fqdns return an empty line?

thufir at tleilax:~$ 
thufir at tleilax:~$ hostname -f
tleilax.bounceme.net
thufir at tleilax:~$ 
thufir at tleilax:~$ hostname --all-ip-addresses
192.168.1.4 
thufir at tleilax:~$ 
thufir at tleilax:~$ hostname -i
127.0.1.1
thufir at tleilax:~$ 
thufir at tleilax:~$ cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	tleilax.bounceme.net	tleilax

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
thufir at tleilax:~$ 
thufir at tleilax:~$ hostname --all-fqdns

thufir at tleilax:~$ 


thanks,

Thufir





More information about the ubuntu-users mailing list