[Pdns-users] Cannot update server-id
Shailendra Gautam
shailendragautam349 at gmail.com
Fri May 26 10:58:14 UTC 2023
Hello,
I cannot seem to update the server-id of my installation.
It is currently set as localhost although I have explicitly set it to
server-id:
[root at powerdns ~]# curl http://127.0.0.1:8081/api/v1/servers
[{"autoprimaries_url":
"/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":
"/api/v1/servers/localhost/zones{/zone}"}]
[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=
server-id="pdns"
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.
--
Thanks
SG
-------------- 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