[Pdns-users] Cannot update server-id

Shailendra Gautam shailendragautam349 at gmail.com
Fri May 26 10:58:14 UTC 2023


I cannot seem to update the server-id of my installation.
It is currently set as localhost although I have explicitly set it to

[root at powerdns ~]# curl
"/api/v1/servers/localhost/autoprimaries{/autoprimary}", "config_url":
"/api/v1/servers/localhost/config{/config_setting}", "daemon_type":
"authoritative", "id": "localhost", "type": "Server", "url":
"/api/v1/servers/localhost", "version": "4.7.4", "zones_url":

[root at powerdns ~]# cat /etc/pdns/pdns.conf | grep -i server-id
# server-id     Returned when queried for 'id.server' TXT or NSID, defaults
to hostname - disabled or custom
# server-id=

I'd like to change the api from `/api/v1/servers/localhost` to
`/api/v1/servers/pdns`, how do I achieve this, am I missing something? I am
using the mysql backend.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20230526/d0d587ab/attachment.htm>

More information about the Pdns-users mailing list