Re: domain name of debian
John Summerfield <debian@ComputerDatasafe.com.au> writes:
> dnsdomainname is in /etc/resolv.conf
> summer@Dolphin:~$ cat /etc/resolv.conf
> search demo.room
> nameserver 192.168.9.4
> nameserver 192.168.8.1
> summer@Dolphin:~$ hostname -f
> Dolphin.demo.room
> summer@Dolphin:~$
I don't think so:
john@legolas:~$ hostname -f
legolas
john@legolas:~$ cat /etc/resolv.conf
search fjellstad.intern
nameserver 192.168.1.1
But then I have
john@legolas:~$ cat /etc/hosts
127.0.0.1 legolas localhost
and
john@legolas:~$ cat /etc/hostname
legolas
--
John L. Fjellstad
web: http://www.fjellstad.org/ Quis custodiet ipsos custodes
Reply to: