1752821 Members
4220 Online
108789 Solutions
New Discussion юеВ

WINS configuration

 
kholikt
Super Advisor

WINS configuration

Which file I should edit to put in the IP address of two of my WINS servers.
abc
5 REPLIES 5
Vincent Stedema
Esteemed Contributor

Re: WINS configuration

Do you mean WINS or DNS? To specify a nameserver, you have to edit /etc/resolv.conf.

The file should look something like this:

domain mydomain.com
nameserver 1.2.3.4
nameserver 1.2.3.5

Regards,

Vincent
kholikt
Super Advisor

Re: WINS configuration

I mean WINS not DNS
abc
Alexander Cekic
New Member

Re: WINS configuration

Hi,

pls let me know with Windows you are using.

In Windows 2000 you can add with a tool:

To manually add a dynamic entry to WINS:

At a command prompt, type netsh, and then press ENTER.

Type wins, and then press ENTER.

Type server, and then press ENTER. (To manage a remote WINS server, type server [\\servername or XXX.XXX.XXX.XXX].)

Issue the appropriate command, as in the following examples:

add name Name=HOSTA RecType=1 IP={10.0.0.1}
Adds a default NetBIOS record set of the 00h, 03h, 20h records for a computer named HOSTA as dynamic entries with a mapped IP address of 10.0.0.1.

Hope thats what you are looking for.

Alex
Keep on running
Jamie Hughes
Honored Contributor

Re: WINS configuration

Hello,

I don't understand your question:

"Which file I should edit to put in the IP address of two of my WINS servers. "

Where are you talking about? Where are you trying to specify the WINS servers, ie, on what machine? On the clients? If so, you enter the WINS server addresses in the TCP/IP properties under Network configuration. You shouldn't need to edit any kind of file on a client. What OS are the clients running?

Best regards,
Jamie Hughes
Rob Smith
Respected Contributor

Re: WINS configuration

Hi, the only two files you might want to put the addresses of your WINS servers in are your hosts file C:\winnt\system32\drivers\etc and your lmhosts file C:\winnt\system32\drivers\etc.

Hosts file for hostname resolution, lmhosts for netbios pre-caching, this way your servers will be able to see one and other in case your WINS servers go down. Hope this helps.

Rob
Learn the rules so you can break them properly.