DNS - /api/v1/dns

This is an authenticated API. Only Admins and Service Accounts can use the DNS API.

GET /api/v1/dns

Get the list of Blue Team DNS records.

POST /api/v1/dns

Create a DNS records for a blue team.

Format:

{
  name: "Name of record (e.x. www)",
  type: "A",
  value: "1", // x.x.x.1
  team: 51 // ID of the team, NOT the number
}

GET /api/v1/dns/:id

Get individual DNS record.

PUT /api/v1/dns/:id

Update individual DNS record.

DELETE /api/v1/dns/:id

Delete an individual DNS record.