rougail-tutorials_builder/examples/082/dictionaries/firefox/60-dns_over_https.yml

28 lines
641 B
YAML
Raw Normal View History

2025-05-05 19:05:46 +02:00
%YAML 1.2
2025-05-05 18:21:57 +02:00
---
dns_over_https: # DNS over HTTPS
enable_dns_over_https: false # Enable DNS over HTTPS
provider:
description: Use Provider
choices:
- Cloudflare
- NextDNS
- Custom
default: Cloudflare
disabled:
variable: dns_over_https.enable_dns_over_https
when: false
custom_dns_url:
description: Custom DNS URL
type: web_address
disabled:
2025-05-05 19:05:46 +02:00
jinja: |-
2025-05-05 18:21:57 +02:00
{% if dns_over_https.provider is propertyerror or dns_over_https.provider != 'Custom' %}
2025-05-05 19:05:46 +02:00
provider is not custom
2025-05-05 18:21:57 +02:00
{% endif %}
description: if "dns_over_https.provider" is not "Custom"
2025-05-05 19:05:46 +02:00
...