[CentOS] Alternative IP addresses
John R Pierce
pierce at hogranch.com
Tue Feb 16 21:28:42 UTC 2016
On 2/16/2016 1:18 PM, Timothy Murphy wrote:
> Frank Cox wrote:
>
>> >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.
> Thanks very much, that seems to work.
> I added "www.myserver.com" to the line starting 192.168.2.5.
My home firewall (pfsense) runs a local DNS caching resolver (unbound),
and I can add IP-name overrides to it via the web UI... I dislike
putting stuff in /etc/hosts as its so 'out of sight, out of mind'
--
john r pierce, recycling bits in santa cruz
More information about the CentOS
mailing list