Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 2020 11:13:34 +0100
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Best way to make a machine boot with or without a Internet connection
Message-ID:  <20200808111334.4dc78fbd3369a0bcf9eada04@sohara.org>
In-Reply-To: <CAGBxaXnaokaYSPQFK%2BWg6Ym3BxD=nin%2BMha21G8FbfcsCTuVYw@mail.gmail.com>
References:  <CAGBxaXnaokaYSPQFK%2BWg6Ym3BxD=nin%2BMha21G8FbfcsCTuVYw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Aug 2020 17:20:16 -0400
Aryeh Friedman <aryeh.friedman@gmail.com> wrote:

> Due to storm related damage my ISP went out for a few (12) hours earlier
> in the week and while I got it usable without a Internet connection by
> putting everything in my LAN in /etc/hosts (I also run a local_unbound
> --> local bind9 on my file server which I have created a zone file for
> the LAN machines also), but it was very slow in booting due to ntpdate,
> tomcat and sendmail not being to connect to the Internet for either
> forward or reverse DNS.   I don't want to turn these services off, but I
> want to be able to do a normal boot (no long hangs) if the ISP goes down
> again.   What is the best way to do this?

	Your problem is DNS so I'd suggest solving it at that level. Point
everything at a local DNS service and provide that with the handful of
addresses that you need to boot smoothly (or put them in /etc/hosts where
they're needed) so that it doesn't have to forward queries for them. This
does leave you open to problems if they change of course.

-- 
Steve O'Hara-Smith <steve@sohara.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200808111334.4dc78fbd3369a0bcf9eada04>