Index: netlog_viewer/dns_view.html |
diff --git a/netlog_viewer/dns_view.html b/netlog_viewer/dns_view.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ccdfd989a2982135af1b9a164f6c66857f965be1 |
--- /dev/null |
+++ b/netlog_viewer/dns_view.html |
@@ -0,0 +1,47 @@ |
+<!-- Host resolver info --> |
+<div id=dns-view-tab-content class=content-box> |
+ <ul style='margin-top: 0'> |
+ <li><a href='#events&q=type:HOST_RESOLVER_IMPL_JOB%20is:active'>View pending lookups</a></li> |
+ </ul> |
+ |
+ <div> |
+ <h4>Async DNS Configuration</h4> |
+ <ul> |
+ <li>Internal DNS client enabled: |
+ <span id=dns-view-internal-dns-enabled></span> |
+ <span id=dns-view-internal-dns-invalid-config class=warning-text style="display: none;"> |
+ (No valid configuration found)</span> |
+ </li> |
+ </ul> |
+ <table class="styled-table"> |
+ <tbody id=dns-view-internal-dns-config-tbody></tbody> |
+ </table> |
+ </div> |
+ |
+ <h4> |
+ Host resolver cache |
+ <input type=button value="Clear host cache" id=dns-view-clear-cache class="hide-when-not-capturing"> |
+ </h4> |
+ <ul> |
+ <li>Capacity: <span id=dns-view-cache-capacity></span></li> |
+ </ul> |
+ <h4>Current State</h4> |
+ <ul> |
+ <li>Active entries: <span id=dns-view-cache-active></span></li> |
+ <li>Expired entries: <span id=dns-view-cache-expired></span></li> |
+ </ul> |
+ |
+ <table class="styled-table"> |
+ <thead> |
+ <tr> |
+ <th>Hostname</th> |
+ <th>Family</th> |
+ <th>Addresses</th> |
+ <th>Expires</th> |
+ </tr> |
+ </thead> |
+ <tbody id=dns-view-cache-tbody> |
+ </tbody> |
+ </table> |
+</div> |
+ |