mirror of
https://github.com/anantadwi13/dns-server-manager.git
synced 2026-04-26 05:05:52 +03:00
[GH-ISSUE #4] Api doesn't work #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-server-manager#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alfmannew on GitHub (Oct 4, 2021).
Original GitHub issue: https://github.com/anantadwi13/dns-server-manager/issues/4
In container
curl http://127.0.0.1:5555/zones
[]
curl http://localhost:5555/zones
[]
chrome
http://ip:5555/zones
[]
Bind works.
@anantadwi13 commented on GitHub (Oct 5, 2021):
Hi @alfmannew,
Could you explain what the problem is? Which version did you use? Please, provide the steps to reproduce this problem.
Thank you.
@alfmannew commented on GitHub (Oct 5, 2021):
Hi
I use docker-compose
latest image
Bind works.
Docs - OK
http://ip:5555/docs#
Api doesn't work
@anantadwi13 commented on GitHub (Oct 5, 2021):
Hi,
Can you give me more details on "Api doesn't work"? Is it about connection refused, internal server error, or anything else?
Btw, you don't need to mount any folders inside
/etc/bind. You just need to mount/datato persist the container's data.@alfmannew commented on GitHub (Oct 5, 2021):
I mount my setting from another server (zones files and named.conf.local)
api answer -->[]
@alfmannew commented on GitHub (Oct 5, 2021):
I think I got it.
The api doesn't work with old data (my data).
It works only with new data received via api.
@anantadwi13 commented on GitHub (Oct 5, 2021):
Unfortunately, it doesn't support restoring existing data.
Perhaps in the next version I will add this feature.
@alfmannew commented on GitHub (Oct 7, 2021):
OK, thanks