From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gisle Vanem To: location@lists.ipfire.org Subject: Re: DB version number? Date: Mon, 27 Sep 2021 11:02:19 +0200 Message-ID: In-Reply-To: <49d2b73a-c5e5-706c-7454-ff449cd5bf77@riseup.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8125017077021069644==" List-Id: --===============8125017077021069644== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable nusenu wrote: > Is there a versioning scheme of the DB? if so: How do I retrieve the versio= n of the db file? > Or is this timestamp the best bet? Yes; no version-info AFAICS. You can use the function 'loc_discover_latest_version()' which does the same as this command: dig -t txt _v1._db.location.ipfire.org giving: ;; ANSWER SECTION: _v1._db.location.ipfire.org. 284 IN TXT "Mon, 27 Sep 2021 05:47:57= GMT" > location update > libloc: loc_discover_latest_version: Could not query _v1._db.location.ipfir= e.org: Why does this fail? --=20 --gv --===============8125017077021069644==--