diff --git a/active/podman_minecraft/minecraft.md b/active/podman_minecraft/minecraft.md index 683633c..cec7347 100644 --- a/active/podman_minecraft/minecraft.md +++ b/active/podman_minecraft/minecraft.md @@ -100,10 +100,32 @@ ssh minecraft systemctl --user restart minecraft 1. Create your minecraft ddns record first [following these docs](/active/podman_ddns/ddns.md#) 2. Create a SRV record in your DNS provider like the following: - | Field | Value | - | ----------- | -------------------------------------- | - | Record name | _minecraft._tcp.testcraft.reeseapps.com | - | Value | 0 5 25566 minecraft.reeseapps.com | + active/podman_minecraft/secrets/reeseapps_records.json: + + ```json + { + "Comment": "CREATE/UPSERT/DELETE a record ", + "Changes": [ + { + "Action": "UPSERT", + "ResourceRecordSet": { + "Name": "_minecraft._tcp.testcraft.reeseapps.com", + "Type": "SRV", + "TTL": 300, + "ResourceRecords": [ + { + "Value": "0 5 25566 minecraft.reeseapps.com" + } + ] + } + } + ] + } + ``` + + ```bash + aws route53 change-resource-record-sets --hosted-zone-id $(cat active/aws_route53/secrets/reeseapps-zoneid) --change-batch file://active/podman_minecraft/secrets/reeseapps_records.json + ``` 3. Test your record with `nslookup`