<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>PayloadDisplayName</key>
    <string>#{uname}DoHService</string>
    <key>PayloadIdentifier</key>
    <string>org.nxfilter.dns.#{uname}DoHService.#{uuid1}</string>
    <key>PayloadUUID</key>
    <string>#{uuid2}</string>
    <key>PayloadDescription</key>
    <string>DNS over HTTPS service for #{uname}</string>
    <key>PayloadRemovalDisallowed</key>
    <false/>
    <key>PayloadVersion</key>
    <integer>1</integer>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadContent</key>
    <array>
      <dict>
        <key>PayloadDisplayName</key>
        <string>#{uname}DoHService</string>
        <key>PayloadType</key>
        <string>com.apple.dnsSettings.managed</string>
        <key>PayloadIdentifier</key>
        <string>com.apple.dnsSettings.managed.#{uuid3}</string>
        <key>PayloadUUID</key>
        <string>#{uuid4}</string>
        <key>PayloadVersion</key>
        <integer>1</integer>
        <key>ProhibitDisablement</key>
        <false/>
        <key>DNSSettings</key>
        <dict>
          <key>DNSProtocol</key>
          <string>HTTPS</string>
          <key>ServerURL</key>
          <string>https://your-domain.com/dns-query/#{token}</string>
        </dict>
      </dict>
    </array>
  </dict>
</plist>