slightly confused by what you are trying to do, but to add dns entries on your local machine you can edit the hosts file. It contains urls and ip address and this is the first place that the pc will look when you need a url resolving.
I *think* on 2k the hosts file is in the i386 folder but haven't looked at it for ages. To edit, just open with notepad and edit the list as given in the example and then resave
hth
MB