support powerdns v4.4 and later (#44)
This commit is contained in:
parent
e2b997707b
commit
7ed078bb78
|
@ -51,7 +51,13 @@ func (b *Backend) Run() error {
|
||||||
|
|
||||||
r.GET("/dnsapi/getDomainMetadata/:name/:kind", func(c *gin.Context) {
|
r.GET("/dnsapi/getDomainMetadata/:name/:kind", func(c *gin.Context) {
|
||||||
c.JSON(200, gin.H{
|
c.JSON(200, gin.H{
|
||||||
"result": false,
|
"result": []string{"0"},
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
r.GET("/dnsapi/getAllDomainMetadata/:name", func(c *gin.Context) {
|
||||||
|
c.JSON(200, gin.H{
|
||||||
|
"result": gin.H{"PRESIGNED": []string{"0"}},
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue