<div dir="ltr">Hi Håvard.<div>Have you tried a different browser? Having said that, I just started 9.20.0 with this config:</div><div><br></div><div>statistics-channels { inet 127.0.1.0 port 8080 ; };<br></div><div><br></div><div>Then pointed three different browsers at that address/port and it looks fine to me in all of them.</div><div>Browers tried were Chrome, Safari and Firefox.</div><div><br></div><div>I can't reproduce your issue, sorry.</div><div>Cheers, Greg</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 25 Aug 2024 at 21:06, Havard Eidnes via bind-users <<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I'm mostly running BIND 9.18.x, and have configured statistics<br>
publishing via<br>
<br>
statistics-channels {<br>
inet 127.0.0.1 port 8053 allow { 127.0.0.1; };<br>
inet "actual-address" port 8053 allow { prefix1/24; prefix2/24; };<br>
};<br>
<br>
I've started testing 9.20.x.<br>
<br>
I see BIND 9.20.x stats publishing is ... different.<br>
<br>
If I use firefox and visit <a href="http://actual-address:8053/" rel="noreferrer" target="_blank">http://actual-address:8053/</a> with BIND<br>
9.18.x, I get a reasonably rendered HTML display which is easy to<br>
view.<br>
<br>
Not so for BIND 9.20.x; I get an XML document which firefox (in<br>
this particular case version 120.0) informs me at the top<br>
<br>
This XML file does not appear to have any style information<br>
associated with it. The document tree is shown below.<br>
<br>
and the document starts with<br>
<br>
<!--<br>
<br>
- Copyright (C) Internet Systems Consortium, Inc. ("ISC")<br>
-<br>
- SPDX-License-Identifier: MPL-2.0<br>
- This Source Code Form is subject to the terms of the Mozilla Public<br>
- License, v. 2.0. If a copy of the MPL was not distributed with this<br>
- file, you can obtain one at <a href="https://mozilla.org/MPL/2.0/" rel="noreferrer" target="_blank">https://mozilla.org/MPL/2.0/</a>.<br>
-<br>
- See the COPYRIGHT file distributed with this work for additional<br>
- information regarding copyright ownership.<br>
--><br>
<xsl:stylesheet version="1.0"><br>
<xsl:output method="html" indent="yes" version="4.0"/><br>
<!--<br>
the version number **below** must match version in bin/named/statschannel.c <br>
--><br>
<!--<br>
don't forget to update "/xml/v<STATS_XML_VERSION_MAJOR>" in the HTTP endpoints listed below <br>
--><br>
<xsl:template match="statistics[@version="3.14"]"><br>
<html><br>
<head><br>
<script type="text/javascript" src="<a href="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js" rel="noreferrer" target="_blank">https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js</a>"/><br>
<script type="text/javascript"><br>
$(function($) { var wid=0; $('table.zones').each(function(i) { if( $(this).width() > wid ) wid = $(this).width(); return true; }); $('table.zones').css('min-width', wid ); $("h2+table,h3+table,h4+table,h2+div,h3+div,h2+script,h3+script").prev().append('<br>
<a class="tabletoggle" href="#" style="font-size:small">Show/Hide</a><br>
'); $(".tabletoggle").click(function(){ var n = $(this).closest("h2,h3,h4").next(); if (<a href="http://n.is" rel="noreferrer" target="_blank">n.is</a>("script")) { n = n.next(); } if (<a href="http://n.is" rel="noreferrer" target="_blank">n.is</a>("div")) { n.toggleClass("hidden"); n = n.next(); } if (<a href="http://n.is" rel="noreferrer" target="_blank">n.is</a>("table")) { n.toggleClass("hidden"); } return false; }); });<br>
</script><br>
<br>
and is quite different from what BIND 9.18.x presents:<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<?xml-stylesheet type="text/xsl" href="/bind9.xsl"?><br>
<statistics version="3.13"><server><boot-time>2024-08-16T09:03:10.730Z</boot-time><br>
<br>
etc. etc.<br>
<br>
The question is: am I alone in experiencing this?<br>
<br>
It also looks like I'll have to find out why collecting BIND<br>
stats via collectd (5.12.0) no longer works after upgrading to<br>
9.20.x.<br>
<br>
Best regards,<br>
<br>
- Håvard<br>
-- <br>
Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div>