Dnscache isn't actually a name server - all it does it cache names and then deliver them when asked for. You have to have been to a site in order for it to cache the name to IP translation - or have run nslookup (it'll cache it then too). It grabs the names from a dns server and keeps them there. The problem you are having here is that 192.168.x.x doesn't have an entry at your ISP's DNS sever - or any public dns server for that. 192.168.x.x IP addresses are non-routable and don't need dns names. There are DNS server packages available for LRP - 2 that come to mind are bind and tinydns. Most people recommend tinydns if I'm not mistaken - due to security vulnerablilties and performance issues with bind.
Simon >From: Steven Cayford <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [Leaf-user] dnscache and nslookup >Date: Thu, 18 Oct 2001 00:12:09 -0500 > >Hi. I'm enjoying setting up a 486 with Oxygen as a router for my home >network. I wanted to set up dnscache on the machine since my isp's name >servers seem kind of slow sometimes and that seems to work pretty well. For >the internal side I just listed my machines (only two of them so far, more >later) in /etc/resolv.conf. So the machines can ping each other by number >or name, I can browse the web from my desktop machine using the router as a >nameserver. However, when I try to run nslookup on my desktop I get: > >*** Can't find server name for address 192.168.1.1: Non-existent >host/domain >*** Default servers are not available > >192.168.1.1 is the router, 192.168.1.2 is the desktop, the internet side of >the router is assigned by dhcp. > >Am I getting this error because I need an internal name server? Seems >strange that nslookup would need a name for the name server itself. > >Thanks for any suggestions. > >-Steve > >_______________________________________________ >Leaf-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/leaf-user _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
