On Fri, Jun 8, 2012 at 10:08 AM, Thomas Rasmussen <tho...@gibfest.dk> wrote:
> On 08.06.2012 11:04, Jonathan McKeown wrote:
>>
>> We find it useful, and a significant aid to maintainability and
>> readability
>> of configuration files.
>
> Hello,
>
> What happens if your server reboots while the DNS
> server is down/unavailable ?

Shouldn't this still work if the machine has its own hostname
associated with its IP in /etc/hosts?  Is that not still common
practice?

I can see the logic here.  By putting the IP in /etc/hosts and the
hostname in the ifconfig, you only have to edit the address in one
place if it ever changes.

This reminds me that the old (pre-NWAM) way to configure Solaris with
a static IP was to put the IP and hostname in /etc/hosts, the hostname
in /etc/hostname.e1000g0 (or whatever your interface name was), the
gateway address in /etc/defaultrouter, and the network address and
netmask in /etc/netmasks.


-- 
David Brodbeck
System Administrator, Linguistics
University of Washington
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to