bruno Ledoux wrote:

> I' m using a linux (RH5) box as a Samba server and gateway plus a cisco
> router to access internet via ISDN.
> 
> My linux box address is  192.168.1.1. From the windows boxes I want to
> use the linux as a file and printing server as well as a gateway to the
> internet.
> On the windows clients I've set up TCP/IP static addresses to be
> 192.168.1.x  , I disabled WINS, and configured the gateway address to
> 192.168.1.1. Now I've got a problem with DNS configuration:
> 
> -If I disable DNS I don't have any access to the outside world but all
> local services work well.
> 
> -If I activate DNS and enter the DNS address of my provider  (a "real"
> internet address), access to remote and local servers via any protocol
> work  well (which makes me think that my linux box routing table and ip
> forwarding are correct) BUT when I make local requests with telnet for
> example (telnet linuxbox) the router first dials up ... asks the
> providers DNS to resolve name ... fails and return... resolve the name
> localy and succeeds !
> I tried to add the server name and IP address in the hosts.sam and
> lmhosts.sam files under windows directory without any success.
> 
> Do I have to set up DNS on my linux box or can I simply configure my
> windows clients to do normal name resolution : lookup hosts file BEFORE
> asking nameserver !

Regardless of whether or not you need to, you should configure the
Linux box as a DNS server. You should probably configure named to
forward all queries for other domains to your ISP's nameserver(s),
using the `forwarders' option.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to