Feature request: Mijnhost provider #541

Open
opened 2025-11-20 04:24:48 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @lvanbuiten on GitHub (Jul 22, 2025).

  1. What's the feature?
    To add support for Mijnhost as a DNS provider.

  2. Extra information?
    API documentation, of the suggested API call, can be found here: https://mijn.host/api/doc/api-3600003

I already made a cronjob using this API call, but you have to supply all DNS records, otherwise it will be overridden/deleted.

Example of the cronjob/cUrl implementation:

curl --location --request PUT 'https://mijn.host/api/v2/domains/<DOMAIN>/dns' \
--header 'Accept;' \
--header 'User-Agent: my-application/1.0.0' \
--header 'Content-Type: application/json' \
--header 'API-Key: <API_KEY>' \
--data-raw '{
    "records": [
        {
            "type": "A",
            "name": "<DOMAIN>.",
            "value": "'"$PUBLIC_IP"'",
            "ttl": 900
        },
                {
            "type": "A",
            "name": "*.<DOMAIN>.",
            "value": "'"$PUBLIC_IP"'",
            "ttl": 900
        },
                {
            "type": "TXT",
            "name": "_dmarc.<DOMAIN>.",
            "value": "v=DMARC1; p=reject; sp=none;",
            "ttl": 900
        },
                {
            "type": "TXT",
            "name": "<DOMAIN>.",
            "value": "v=spf1 a mx include:spf.mijn.host ~all",
            "ttl": 900
        }
    ]
}'

Perhaps I could implement it myself, but I don't have any experience with the language Go, so it would probably take a while to implement. Of course, I'm happily to test it.

Originally created by @lvanbuiten on GitHub (Jul 22, 2025). 1. What's the feature? To add support for [Mijnhost](https://mijn.host/) as a DNS provider. 2. Extra information? API documentation, of the suggested API call, can be found here: https://mijn.host/api/doc/api-3600003 I already made a cronjob using [this](https://mijn.host/api/doc/api-3563907) API call, but you have to supply all DNS records, otherwise it will be overridden/deleted. Example of the cronjob/cUrl implementation: ``` curl --location --request PUT 'https://mijn.host/api/v2/domains/<DOMAIN>/dns' \ --header 'Accept;' \ --header 'User-Agent: my-application/1.0.0' \ --header 'Content-Type: application/json' \ --header 'API-Key: <API_KEY>' \ --data-raw '{ "records": [ { "type": "A", "name": "<DOMAIN>.", "value": "'"$PUBLIC_IP"'", "ttl": 900 }, { "type": "A", "name": "*.<DOMAIN>.", "value": "'"$PUBLIC_IP"'", "ttl": 900 }, { "type": "TXT", "name": "_dmarc.<DOMAIN>.", "value": "v=DMARC1; p=reject; sp=none;", "ttl": 900 }, { "type": "TXT", "name": "<DOMAIN>.", "value": "v=spf1 a mx include:spf.mijn.host ~all", "ttl": 900 } ] }' ``` Perhaps I could implement it myself, but I don't have any experience with the language Go, so it would probably take a while to implement. Of course, I'm happily to test it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#541