Skip to content

dresden-zone/rabauken

Repository files navigation

Dresden Zone DNS Service

API Schema

Auth

  • /v1/auth/login -> keycloak
  • /v1/auth/register -> keycloak
  • /v1/auth/logout -> keycloak

Zone

  • POST /v1/zone

Request

{
  "name": "dresden.zone"
}

Response

{
  "id": "zone-uuid"
}
  • GET /v1/zone/zone-uuid/{uuid} Response { "name": "dresden.zone", "verified": true }

  • DELETE /v1/zone/zone-uuid/{uuid}

  • PUT /v1/zone/zone-uuid/{uuid}

Records

  • POST /v1/zone/{zone-uuid}/record Request
{
  "type": "A",
  "name": "dns",  
  "address": "172.0.0.1",
  "ttl": 300
}

Response

{
  "id": "record-uuid"
}
  • GET /v1/zone/{zone-uuid}/record Response
[
  {
    "id": "record-uuid",
    "type": "A",
    "name": "dns",  
    "address": "172.0.0.1",
    "ttl": 300
  },
  {
    "id": "record-uuid",
    "type": "A",
    "name": "api",  
    "address": "172.0.0.2",
    "ttl": 600
  }
]
  • DELETE /v1/zone/{zone-uuid}/record/{record-uuid}
  • PUT /v1/zone/{zone-uuid}/record/{record-uuid}
  • GET /v1/zone/{zone-uuid}/record/{record-uuid}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published