[CentOS] Alternative IP addresses

Frank Cox

theatre at melvilletheatre.com
Tue Feb 16 16:52:04 UTC 2016


On Tue, 16 Feb 2016 09:15:43 +0000
Timothy Murphy wrote:

> > you could run split DNS, so on your LAN, mydomain.com is 192.168.x.x
> > while on the internet, mydomain.com is the actual IP address.
> 
> I'd rather not run a DNS server on my machine.
> I tried this some years ago, and ran into trouble.

Why not put mydomain.com 192.168.whatever in your /etc/hosts file?  No need to run a dns server to hard-code one single lookup like that.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com



More information about the CentOS mailing list