configure windows 2000 SP4 computer to use DNS name servers forhostname lookup

W

wong_powah

How to configure my (client, not server) windows 2000 SP4 computer to
use some DNS name servers for hostname lookup?
i.e. something similar to the /etc/resolv.conf file on unix.
The option available at
Control Panel > Network Connections > Local Area Connection >
Properties > TCP/IP
has "General" only.
 
M

Meinolf Weber

Hello (e-mail address removed),

Check out c:\winnt\drivers\etc\hosts file. The file has no extension, open
it with notepad and you can edit it if it is the one you use.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
How to configure my (client, not server) windows 2000 SP4 computer to
use some DNS name servers for hostname lookup?
i.e. something similar to the /etc/resolv.conf file on unix.
The option available at
Control Panel > Network Connections > Local Area Connection >
Properties>> TCP/IP
Properties>>
 
W

wong_powah

Hello (e-mail address removed),

Check out c:\winnt\drivers\etc\hosts file. The file has no extension, open
it with notepad and you can edit it if it is the one you use.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!!http://www.blakjak.demon.co.uk/mul_crss.htm


Properties>> TCP/IP
Properties>>

I had put the following three lines in C:\WINNT\system32\drivers\etc
\hosts and C:\WINNT\system32\drivers\etc\resolv.conf in my win 2000
client (not server) computer.
search powah.com
nameserver 172.20.10.20
nameserver 172.16.2.14


However, it still does not work (the hostname "tulip" does not resolve
to a proper IP addresses).
C:\>ping tulip
Unknown host tulip.

C:\>ping tulip.powah.com

Pinging tulip.powah.com [172.20.11.134] with 32 bytes of data:

Reply from 172.20.11.134: bytes=32 time=3ms TTL=254
Reply from 172.20.11.134: bytes=32 time<10ms TTL=254

Ping statistics for 172.20.11.134:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 3ms, Average = 1ms
Control-C
^C
 
A

Anteaus

Do you mean your internal computers, when you say hosts, or internet sites?

If you mean internal computers, you have three options:

1. Set up a WINS server.

2. Create HOSTS files on each computer, each listing every other computer.

3. Run an internal DNS server.

resolv.conf is linux native, windows doesn't recognise it. In any case it is
functionally equivalent to the DNS tab on your LAN TCP/IP properties.

3. is the best option though involves a fair bit of understanding. You need
DNS server software. Windows server has this, or you can use MaraDNS. You
need to create a zone file listing your internal computers as A-records, set
your DNS server as the default on each computer, and register the correct
domain suffix. Oh, and the DNS server itself must have a PTR record in the
zone file.

:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top