feat: add srv record support and improved documentation for txt records
This commit is contained in:
parent
9cc6330f85
commit
188b527219
3 changed files with 34 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ server:
|
|||
local-data: "{{ record.name }}. IN CNAME {{ record.value }}"
|
||||
{% elif record.get('type', 'A') == 'TXT' %}
|
||||
local-data: "{{ record.name }}. IN TXT \"{{ record.value }}\""
|
||||
{% elif record.get('type', 'A') == 'SRV' %}
|
||||
local-data: "{{ record.name }}. IN SRV {{ record.priority }} {{ record.weight }} {{ record.port }} {{ record.value }}."
|
||||
{% elif record.get('type', 'A') == 'PTR' %}
|
||||
local-data: "{{ record.name }}. IN PTR {{ record.value }}"
|
||||
{% else %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue