Maurice Wehbe
2003-May-02 17:06 UTC
[Samba] Windows client/ samba server name resolving issue
Hi everybody, Here is what i do: I have i debian linux/samba server 2.2.x This server also managed our primary dns server I am using linux hosts file to let local network make difference between public ip given by bind and local ip that i put in hosts file. Let's say i have: www.domaine1.com I want local network users to got local ip as the ip address and let internet outside people to got public ip address in hosts i create a line like: <local ip address> www.domaine1.com But when pinging from windows clients it always give public ip address, it seems not using linux hosts file. It only works well when pinging directly on the server. host.conf already have: order hosts,bind And in smb.conf i also put: name resolve order = hosts wins bcast Will be great to have any suggestion about this. Thanks
Marian Mlcoch, Ing
2003-May-09 13:01 UTC
[Samba] Windows client/ samba server name resolving issue
Hallo ping on windows machine have nothing with linux or samba... only windows tcpip config panel sets parameters for this if yuo set dns then windows gets ping ip addres from dns or from windows host file on windows disk system directory. Posible reason is on startup windows folder create script to copy hosts file from central storage and ip translation is first resolved from this file c:\windows\hosts and if not from dns. Bye. ----- Original Message ----- From: "Maurice Wehbe" <MWehbe@ifrmonitoring.com> To: <samba@lists.samba.org> Sent: Friday, May 02, 2003 7:06 PM Subject: [Samba] Windows client/ samba server name resolving issue> Hi everybody, > > Here is what i do: > I have i debian linux/samba server 2.2.x > This server also managed our primary dns server > I am using linux hosts file to let local network make difference between > public ip given by bind and local ip that i put in hosts file. > > Let's say i have: www.domaine1.com > I want local network users to got local ip as the ip address > and let internet outside people to got public ip address > > in hosts i create a line like: > <local ip address> www.domaine1.com > > But when pinging from windows clients it always give public ip address, it > seems not using linux hosts file. > It only works well when pinging directly on the server. > > host.conf already have: order hosts,bind > And in smb.conf i also put: name resolve order = hosts wins bcast > > Will be great to have any suggestion about this. > Thanks > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba