-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: ksemat@wawa.eahd.or.ug [mailto:ksemat@wawa.eahd.or.ug] > Sent: Wednesday, July 26, 2000 12:10 PM > To: Gaurav Agarwal > Cc: Linux Net > Subject: Re: dns issues > > On Wed, 26 Jul 2000, Gaurav Agarwal wrote: > > > Date: Wed, 26 Jul 2000 10:25:39 +0530 > > From: Gaurav Agarwal <gauravag@nde.vsnl.net.in> ... > > now i was trying to configure the caching-only dns. ... > > for that i edited the /etc/named.conf file and added ... > > then i created the file /var/named/named.192.168.5 > > and put in the related hostname and domain name etc .. > > > > finally i restarted the named : /etc/rc.d/init.d/named restart > > > > still when i telnet 192.168.5.3 from my windows machine on > the network, it > > takes over 60 secounds to show the prompy Of course this is no chaching-only name server anymore since your server should provide correct resolution for the 192.168.5.* domain... But as I gathered you're using a M$ Windows client. Your telnet session is it setup using the IP-address (as you state above), or as the domainname corresponding to that ip-address ?). > In stead of doing this edit your /etc/hosts file and and put > your machine > name in the file plus the coreesponding IP. i.e > machinename.domain.com 192.x.x.x machinename > This will be enoughtto solve your problem. don't forget to check whether in your /etc/nsswitch.conf you have a line stating hosts: files dns otherwise your /etc/hosts file won't be checked. The /etc/hosts mentioned by ksemat can also be used in M$Windows 9x by editing c:\windows\hosts.sam and c:\windows\lmhosts.sam in the same way OR for M$WinNT4x in c:\winnt\system32\drivers\etc\hosts c:\winnt\system32\drivers\etc\lmhosts c:\winnt\system32\drivers\etc\lmhosts.sam ******* Groetjes vanwege ***** Greetings From ******* Dieter Demerre - http://www.angelfire.com/de/ddemerre ddemerre@acm.org - ext.dieter.demerre@siemens.be Although this private and confidential e-mail has been sent to you through a personal Siemens account, it does NOT represent any official opinion of Siemens. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com> iQA/AwUBOX6+IQlG34XnM6kpEQJjUQCgoVCmBzSRhTTCXaDMl0YzeIt8vusAnRhF d0Ms5K1LmoSXDIQuEZ4xOkZB =8rCH -----END PGP SIGNATURE----- - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu