Re: Alternative IP addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux