Skip to content

DNS

Overview

Localkit intercepts the device's cloud communication by redirecting two domains to the local containers via DNS.

DomainRedirects ToContainer
api.eu-pet.com10.10.46.105Localkit
api-eu.petkt.com10.10.46.105Localkit
*.iot-as-mqtt.eu-central-1.aliyuncs.com10.10.46.101Localkit Broker

INFO

The region eu-central-1 may differ depending on your initial device region. Adjust accordingly.

Device Subdomain

Every device in Localkit needs its own subdomain. Enter the desired subdomain in Localkit and add the corresponding DNS entry pointing to the Localkit Broker IP.

dns-subdomain.png

For example: localkit.iot-as-mqtt.eu-central-1.aliyuncs.com10.10.46.101

Initial Setup

When setting up a device for the first time, the device's default cloud MQTT URL must be blocked in your DNS server before flashing the firmware. This forces the device to use the redirected domain from the start.

After the DNS entries are in place and Localkit is running, install the prepared firmware on your devices — this is usually done via OTA update.