[RESOLVED] How do I make permanent entries in /etc/hosts?
-
I would like to add entries in /etc/hosts that survive a reboot and config changes. Currently, anything I add using "Diagnostics: Edit file" disappear after a config change or reboot. I am not using pfsense as a DNS server or DHCP server, but I am using it as a DNS forwarder.
Before I add my entries the /etc/hosts file looks like this:
127.0.0.1 localhost localhost.localdomain 10.1.1.1 pfsense.localdomain pfsense
My pfsense version info is:
2.1.5-RELEASE (i386)
built on Mon Aug 25 07:44:26 EDT 2014
FreeBSD 8.3-RELEASE-p16 -
Host overrides in the DNS forwarder don't do what you need?
-
Kind of a funny override in the first place. You only set 2 IP addresses. PFSense for me has many IP addresses and I find it better to worry about interfaces and not focus on any specific IP. What are you trying to accomplish?
-
Adding them to the Host Overrides works, thanks.
I want the Traffic Graph to show FQDN for hosts on my local network, instead of just the IP addresses.