Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 535
  • Last Modified:

Redirect domain name to local (netbios) name?

I have Outlook set to look for my POP3 mail at my mail server, mail.halwyman.com, on my hom lan connected to the internet through a nat router with a static ip address.

When I am on my home network, it would be nice if Outlook could obtain the mail over the lan rather than going out over the internet.  Is there a way to accomplish this automatically without running my own local dns server, or a simple dns server solution?  There is no domain controller on my simple home network.
0
halwyman
Asked:
halwyman
  • 2
1 Solution
 
stevenlewisCommented:
You could add a hosts file, that redirects to your LAN ip, but when you are not on your local network it will redirect to the wrong IP
to fix that, make two batch files
and two hosts files
one to copy the redirect hosts file, and one to copy a blank one (one with just the
localhost 127.0.0.1)
then just double click on the appropriate batch file before you check email
0
 
halwymanAuthor Commented:
That should work.  I take it the only automatic solution would be to run a dns server on my lan somewhere.

0
 
mycaddigoCommented:
Did you try just using \\(local mail ip address) ie \\192.168.1.5
0
 
halwymanAuthor Commented:
For web access i don't have a problem, but I'm talking about Outlook access.  I don't want to change all my Outlook account settings.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now