Server boot time is reported in the HTTP statistics channel. For example, with this in named.conf: statistics-channels { inet * port 8888 allow { localhost; }; };
$ curl http://localhost:8888/json/v1/status { "json-stats-version":"1.2", "boot-time":"2017-01-05T22:01:35.313Z", "config-time":"2017-01-05T22:01:35.380Z", "current-time":"2017-01-05T22:18:37.498Z", "version":"9.11.0-P1" } $ curl http://localhost:8888/xml/v3/status <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="/bind9.xsl"?> <statistics version="3.8"><server><boot-time>2017-01-05T22:01:35.313Z</boot-time><config-time>2017-01-05T22:01:35.380Z</config-time><current-time>2017-01-05T22:18:47.162Z</current-time><version>9.11.0-P1</version></server><views/></statistics> -- Evan Hunt -- e...@isc.org Internet Systems Consortium, Inc. _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users