Skip to content

Can't locate object method "secret" via package "PowerDNS::API" #38

@yu7tux

Description

@yu7tux

I am getting the "Can't locate object method "secret" via package "PowerDNS::API"
error when trying to run hypnotoad -f script/powerdns_api.

my powerdns-api.conf file looks like this 👍
{
"secret": "dfsdfsdsfsdfsdfsdfssfasdfs",
"database": {
"database": "pdns",
"user": "root",
"password": "p8RyyHZsYgj",
"host": "localhost"
}
}


If I remove the "secret" section from json I get:
script/powerdns_api") called at /usr/local/bin/hypnotoad line 24
'secret' not configured.

The same thing happens if I use morbo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions