Hi In the following example machine: machine.domain.com what should be "hostname", "hostname -d" and "hostname -f" answers on an ispconfig system? My answers are: hostname : machine.domain.com hostname -f: machine hostname -d: (nothing) and I suspect this is not correct. Shouldn't it be hostname: machine hostname -f: machine.domain.com? Thankyou very much
hostname -f should be you Fully Qualified Domain Name (fqdn), eg. host.domain.tld. 1st question: which distribution are you using 2. what are the contents of /etc/hosts, /etc/host.conf, /etc/hostname files the answers should be: hostname: host.domain.tld hostname -d: domain.tld hostname -f: host.domain.tld T.
I reversed order in /etc/hosts, from x.x.x.x machine machine.domain.com domain.com to x.x.x.x machine.domain.com machine domain.com Everything is working now as you suggests hostname: machine.domain.com hostname -f: machine.domain.com hostname -d: domain.com Thank you very much