release: 0.3.0: PTR fix via public resolvers; monitoring URLs and nav icons
panel: the PTR (reverse DNS) check no longer reports a correctly published Fixed: - panel: the PTR (reverse DNS) check no longer reports a correctly published Changed: - panel: the three monitoring pages now live at URLs that match their nav - panel: each entry in the navigation bar now carries an icon beside its label, - panel: the navigation bar is laid out as two rows on purpose — the signed-in Full detail: CHANGELOG.md (0.3.0).
This commit is contained in:
@@ -103,10 +103,11 @@ type cached[T any] struct {
|
||||
expires time.Time
|
||||
}
|
||||
|
||||
// New returns a Checker using the process resolver and the package's default
|
||||
// timeout and cache lifetimes.
|
||||
func New() *Checker {
|
||||
return newChecker(net.DefaultResolver, lookupTimeout, serverTTL, domainTTL)
|
||||
// New returns a Checker querying the given recursive resolvers (empty means
|
||||
// DefaultResolvers) with the package's default timeout and cache lifetimes.
|
||||
// The lookups deliberately bypass the system resolver — see externalResolver.
|
||||
func New(resolvers []string) *Checker {
|
||||
return newChecker(newExternalResolver(resolvers), lookupTimeout, serverTTL, domainTTL)
|
||||
}
|
||||
|
||||
func newChecker(r resolver, timeout, srvTTL, domTTL time.Duration) *Checker {
|
||||
|
||||
Reference in New Issue
Block a user