> > On Fri, Jul 16, 1999 at 08:53:33PM -0500, [EMAIL PROTECTED] wrote: > > > The first things to check would be /etc/hosts, /etc/HOSTNAME and > > resolv.conf. Does the command hostname work correctly? > > Thanks, it works now. > > but I can still not get nslookup to work. > where shall I look for that. > > # nslookup > *** Can't find server name for address 172.16.1.1: No response from server > *** Can't find server name for address 204.143.107.46: No response from server > *** Default servers are not available I tried pinging 172.16.1.1 and got no reponse and on the 204.143.107.46 got a ping reponse, but neither of them return anything on a nslookup. If appears that these are 1) not dns servers or 2) are having some problems at the momenet. If you do a nslookup on metta.lk. it says the DNS for that domain is handled by ns.eu.net - 192.16.202.11 pendragon.cs.purdue.edu - 128.10.2.5 Using a name server that you don't have premission to use is considered in bad taste, so you should check with you (school?) network admin just to be safe. Once you have your name server address you will need to put them in your /etc/resolv.conf file. It will look something like this... #/etc/resolv.conf search ns.eu.net namserver 192.16.202.11 You should have 2 Doman name server "names" and addresses in there, but I forgot how to format the file, anyone on the list want to take this? > > I am not connected to the net and the machine name is narada.col7.metta.lk > but dialing in using a ppp link > with a /etc/hosts file like this > > # cat /etc/hosts > 127.0.0.1 localhost localhost.localdomain > 172.16.1.1 narada.col7.metta.lk narada > 204.143.107.46 metta.lk dhamma The way I understand it the /etc/hosts is for computers directly connected to your network, ussually via ethernet. Also you can configure your machine to look at this file first, since it is local the lookups are faster, but it has to be manually updated. you might want to put the 204.143.107.46 line like this. 204.143.107.46 dhamma.metta.lk dhamma This way when you type telnet dhamma it will telnet to dhamma.metta.lk instead of metta.lk. > > # dnsdomainname > col7.metta.lk > # hostname > narada.col7.metta.lk > > > Is there a list dedicated to DNS/BIND that I could listen in on > and learn what to do. Not sure, there is a (mini?) howto-DNS either under /usr/doc or linux.org also the O'Rielly book DNS and BIND is execellent, the cricket book. > > best regards > Jacob >
