[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: domain name of debian



John L Fjellstad wrote:

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

So you don't have a domain name. What does that disprove?

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

Assuming your nameserver at 1.1 can
resolve legolas then remove it from /etc/hosts and you too will have a domain name.

and
john@legolas:~$ cat /etc/hostname
legolas


--

Cheers
John

-- spambait
1aaaaaaa@computerdatasafe.com.au  Z1aaaaaaa@computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/



Reply to: