update ironwood dependency, add a debug API call for lookups

This commit is contained in:
Arceliar 2023-10-28 05:26:43 -05:00
parent ea6ccf552f
commit d17ac39789
6 changed files with 65 additions and 7 deletions

View file

@ -216,6 +216,9 @@ func main() {
options := []admin.SetupOption{
admin.ListenAddress(cfg.AdminListen),
}
if cfg.LogLookups {
options = append(options, admin.LogLookups{})
}
if n.admin, err = admin.New(n.core, logger, options...); err != nil {
panic(err)
}