Re: Redirect IP to hostname



Well, I'm pretty familiar with DNS, but I'm not sure how that could
possibly help me redirect an IP address TO a domain name (which THEN
goes back to a different less static IP address which it is ALREADY
bound to and can be easily changed thanks to my domain registrar), and
I'm pretty sure WINS is a LAN-only thing (and I don't want to resolve
ALL names for computers that are at the moment using my hosts file)...
My hosts file is used by various computers across the internet.


LMHOSTS also looks like a LAN-only thing (though I am having a bit of
trouble understanding it), and it looks like you can only put names up
to 16 characters long in it, and it looks like it doesn't work on
Windows XP (some of the computers that use my hosts file are Windows
XP), and judging by you saying NetBIOS, I would have to guess that you
can only include a file if it is on LAN, which my server is not to
those computers using my hosts file.

Frankster wrote:
I am using a hosts file to redirect many host names to a single IP
address

Since the IP is dynamic, the hosts file has to be updated occasionally
which can be troublesome.

Check out using the LMHOSTS file rather than HOSTS.

----------------------------------------------------
# Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT)
# software to seek the specified <filename> and parse it as if it were
# local. <filename> is generally a UNC-based name, allowing a
# centralized lmhosts file to be maintained on a server.
-----------------------------------------------------

This way, for IP changes, you'll only have to edit one file on the server.

-Frank

.



Relevant Pages

  • Re: Folder Redirection - Peer network
    ... Server is not used a lot, so I want to take the data files off of ... I'd like to find a way to redirect all queries ... If all computers had static IP ... addresses, which they do not, I could host a hosts file. ...
    (microsoft.public.windowsxp.general)
  • Re: Folder Redirection - Peer network
    ... Server is not ... of the computers have applications that access files on Server, ... I could host a hosts file. ... Just redirect it, period, right at the ...
    (microsoft.public.windowsxp.general)
  • Re: Samba configuration and name resolution?
    ... >>DHCP server in the router. ... > Unless you have a lot of computers, ... > hosts file over the network. ... With the DHCP option of the router, ...
    (comp.os.linux.networking)
  • Cant join the domain
    ... I am running a win2k network with 6 XP computers. ... I can ping the server both by IP ... modified the hosts file to include both the server and host IP and full ...
    (microsoft.public.windows.server.general)
  • Re: the network connection icon takes 4 min to show up
    ... I can ping all three computers from each other ... What is "NET VIEW a server"? ... > The lmhosts.sam file is a sample lmhosts file designed to demonstrate how ... the problem you are experiencing with the network connection ...
    (microsoft.public.win2000.networking)

Loading