This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# compare-dns-resolution.sh | |
# This script reproduces and compares DNS resolution behavior in Debian (glibc) vs Alpine (musl) | |
# running in host network mode. It tests Python getaddrinfo() and FFmpeg name resolution | |
# against a configurable Jellyfin stream URL, and cleans up all test containers on exit. | |
set -euo pipefail | |
# --- Configuration --- | |
JELLYFIN_STREAM_URL="${JELLYFIN_STREAM_URL:-http://jellyfin.myserver.example.lan/stream}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
device_name: rolladen_wohnzimmer_links | |
device_position: links | |
device_location: Wohnzimmer | |
friendlyname: "Rolladen ${device_location} ${device_position}" | |
open_duration_s: '59' | |
open_switch: switch2 | |
open_relay: relay2 | |
close_duration_s: '60' | |
close_switch: switch1 |