Hardware Profile based Hosts file

Discussion in 'Hardware' started by Wulffy, Feb 3, 2007.

  1. Wulffy

    Wulffy Private E-2

    Good day folks.

    I am looking for a way to load a specific host file, based upon which hardware profile is being use.

    Scenario: I use a work-provided laptop. When using the laptop at work (docked), I am able to access my own network resources just fine via WAN DNS servers - i.e. I am able to get to my http server from outside my residential LAN. However, when I log on to the network from home, I have to go and edit my hosts file to facilitate forcing specific URLs to resolve to a LAN IP vs. a WAN IP (as the router does not facilitate loopback resolution (if that makes sense)).

    I would like to have a different host file load based upon the hardware profile - i.e. if I am docked in a port replicator, have the specific URLs resolve to the WAN IP (remove forcing specific URLs to a 192.168.x.x IP) and if I am not docked and I boot up, I would like specific URL to be forced to resolve to the 192.168.x.x LAN IPs.

    I understand that I will still have to manually edit the hosts file if I am traveling (not-docked & outside of my LAN) and trying to touch my servers, but that is the exception vs. the norm.

    Please review and advise if there is a means that I can force a different hosts file to load based upon hardware profiles, or if there is a means to address it in a different manner.

    Thanks in advance!
     
  2. Wulffy

    Wulffy Private E-2

    Bump - Anyone have any ideas, yet? Please advise. Thanks.

    -taw
     
  3. cat5e

    cat5e MajorGeek


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds