[Samba] how do I resolve local machine names for a windows 2k network?

Peter Atkin peter at computer-facilities.com
Sun Oct 26 19:59:59 GMT 2003

I am having problem resolving local machine names from the workstaions, but I can resolve 
them from the server e.g.

If I ping from the local server "mail.cf.com" I get..

PING mail.cf.com ( from : 56(84) bytes of data.
64 bytes from mail.cf.com ( icmp_seq=1 ttl=128 time=0.274 ms 

but if i ping from the workstation "mail.cf.com" I get..
Unknown host mail.cf.com

Am am not sure what to to next I have tried adding the local server to the route 
"route del default gw" when I did that all my internet access died and I still 
could not ping by name the mail server.

If I do "netstat -nr" i get:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface U        40 0          0 eth0   U        40 0          0 eth1       U        40 0          0 lo         UG       40 0          0 eth0

I have setup the the following files: 
/etc/hosts       localhost.localdomain localhost        mail.cf.com     mail      smb_server      smb       hp4500n         hp

order hosts, bind
multi on

domain localdomain
; generated by /sbin/dhclient-script

#Server should start from 1 to 19
#Printers should start from 20 to 29
#Users should be DHCP from x.x.x.110 to x.x.x.150

ddns-update-style interim;
deny duplicates;
deny client-updates;
always-broadcast on;

subnet netmask {
        default-lease-time 300;
        max-lease-time 300;
        option pop-server;
        option smtp-server;
        option routers;
        option nntp-server;
        option ip-forwarding off;
        option time-servers;
        option broadcast-address;
        option subnet-mask;
        option domain-name-servers,;

Does anyone know whats up, I have not had any success with finding solutions here, if I am 
not following protocal, not explaining my problem well, or i just being dumb please inform 
me so I can learn..

Kind Regards


       (O O)                                        (   ) Oooo 
--oooO--(_)--Oooo------------------------------------\ (-(   )--
                       COMPUTER FACILITIES            \_) ) /
Postal Address  Delivery Address     Contacts
P.O.Box 21558  61 Bukoto Street  support at computer-facilities.com
Kampala        Kamwokya   
Uganda         Kampala           Tel 256-(0)41-533784
East Africa    Uganda            Fax 256-(0)41-540380
               East Africa       e-Fax 1-206-350-3375 (USA)

More information about the samba mailing list