---
title: "Create an mDNS record"
method: POST
path: "/mdns/records"
tags: ["mDNS"]
---

# Create an mDNS record

`POST /mdns/records`

Create a user-defined mDNS record

## Request body

- InternalHandlersMdnsMdnsRecordRequest
  - `interfaces` string
  - `name` string
  - `port` integer
  - `txt` object
  - `type` string

## Response `201`

Created

- GithubComAlchemillahqSylveInternalAPIResponseGithubComAlchemillahqSylveInternalDbModelsMdnsMdnsRecord
  - `data` GithubComAlchemillahqSylveInternalDbModelsMdnsMdnsRecord
    - `createdAt` string
    - `id` integer
    - `interfaces` string
    - `name` string
    - `port` integer
    - `txt` object
    - `type` string
    - `updatedAt` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/7a7bea85004e/schema)
