General Networking/Lan/Wan/NAT Loopback using static route

Advertisement


Question
Hi mate! I have a bit of an issue with regard to loopback. I'm not terribly technical when it comes to this information, however the problem I have is I have a mail/web server on my internal network. Its a Synology NAS and works extremely well. It's internal IP address is 192.168.1.170. The issue I have is that when my phones/tables are looking for the mail server mail.mycarsound.com.au, they will not resolve. Externally it all works perfectly. It's all works fine internally when I use 192.168.1.170. Previously the routers I have used have featured NAT or WAN loopback options, once selected the nameserver would resolve itself. This router doesn't have that option. I am wondering if it's possible to add some kind of static route in order to make this work correctly?

Answer
Hi Mark, and thanks for your question.

You don't indicate what kind of phones/tables you are working with, but I'll assume either iOS or Android devices. In either case, there is a file analogous to the "hosts" or "hosts.txt" file on a PC. You need to edit it so that an entry is made that looks something like:

192.168.1.170 mail.mycarsound.com.au

There are a couple of options for iOS devices in this article. The easiest involves "jailbreaking" the device, but there are workarounds if that is not something you want to do:

http://stackoverflow.com/questions/2028544/does-hosts-file-exist-on-the-iphone-h

For android, there's an app for that!

https://play.google.com/store/apps/details?id=com.treb.hosts&hl=en

This app lets you edit the hosts file.

Good luck, and I hope this helps,

Ralph

General Networking/Lan/Wan

All Answers


Answers by Expert:


Ask Experts

Volunteer


Ralph Becker

Expertise

General networks, including LAN (ethernet, cable modem, DSL), dialup (modems), WAN (frame relay, ATM), and other related networking technologies.

Experience

I have worked for 20 years in various network companies, in capacities including development, customer service, and operations.
Check out my bio/ratings page!
http://www.allexperts.com/expert.cgi?m=1&catID=1049&expID=20679

©2016 About.com. All rights reserved.