iOS iPadOS DNS-Profil mit SSID-Ausnahme
DNS over TLS mit "clean.dnsforge.de" auf iPadOS, iOS einrichten.
📋 Kontext
- Ziel: DNS over TLS mit
clean.dnsforge.deauf iPadOS, iOS einrichten - Herausforderung: Bestimmtes WLAN (
FRITZ005) sollte nicht das DNS-Profil verwenden, sondern z.B. lokales Pi-hole - Problem: Ursprüngliches erweitertes Profil war ungültig (XML-Strukturfehler)
🔧 Lösung
Korrigiertes OnDemandRules-Array im mobileconfig-Profil:
<key>OnDemandRules</key>
<array>
<!-- Regel 1: Auf FRITZ005 DNS ignorieren -->
<dict>
<key>Action</key>
<string>Ignore</string>
<key>SSIDMatch</key>
<array>
<string>FRITZ005</string>
</array>
</dict>
<!-- Regel 2: Auf allen anderen WLANs verbinden -->
<dict>
<key>Action</key>
<string>Connect</string>
<key>InterfaceTypeMatch</key>
<string>WiFi</string>
</dict>
<!-- Regel 3: Auf Cellular verbinden -->
<dict>
<key>Action</key>
<string>Connect</string>
<key>InterfaceTypeMatch</key>
<string>Cellular</string>
</dict>
<!-- Regel 4: Standardregel -->
<dict>
<key>Action</key>
<string>Disconnect</string>
</dict>
</array>
