<commit_before>$ORIGIN .
$TTL {{ object.ttl }}
{{ object.domain }}             IN SOA {% with object.nameserverrecord_set.all|first as soa_ns %}{{ soa_ns.data }}{% endwith %} {{ object.rname }} (
                                {{ object.serial }} ; serial
                                {{ object.refresh }} ; refresh
                                {{ object.retry }} ; retry
                                {{ object.expire }} ; expire
                                {{ object.minimum }} ; nxdomain ttl (bind 9+)
                                )

$ORIGIN {{ object.domain }}.

; NameServerRecords
{% for object in object.nameserverrecord_set.all %}
@    {{ object.ttlx }}    IN    NS    {{ object.data }}
{% endfor %}

; AddressRecords
{% for object in object.addressrecord_set.all %}
{{ object.data }}    {{ object.ttlx }}    IN    A    {{ object.ip }}
{% endfor %}

; CanonicalNameRecord
{% for object in object.canonicalnamerecord_set.all %}
{{ object.data }}    {{ object.ttlx }}    IN    CNAME    {{ object.target }}
{% endfor %}

; MailExchangeRecord
{% for object in object.mailexchangerecord_set.all %}
@    {{ object.ttlx }}    IN    MX    {{ object.priority }} {{ object.data }}
{% endfor %}

; TXT
{% for object in object.textrecord_set.all %}
@    {{ object.ttlx }}    IN    TXT    {{ object.text|safe }}
{% endfor %}

; SRV
{% for object in object.servicerecord_set.all %}
{{ object.data }}    {{ object.ttlx }}    IN    SRV {{ object.priority }} {{ object.weight }} {{ object.port }}    {{ object.target }}
{% endfor %}<commit_msg>Fix #2. Allow specify subdomain for TXT record<commit_after>$ORIGIN .
$TTL {{ object.ttl }}
{{ object.domain }}             IN SOA {% with object.nameserverrecord_set.all|first as soa_ns %}{{ soa_ns.data }}{% endwith %} {{ object.rname }} (
                                {{ object.serial }} ; serial
                                {{ object.refresh }} ; refresh
                                {{ object.retry }} ; retry
                                {{ object.expire }} ; expire
                                {{ object.minimum }} ; nxdomain ttl (bind 9+)
                                )

$ORIGIN {{ object.domain }}.

; NameServerRecords
{% for object in object.nameserverrecord_set.all %}
@    {{ object.ttlx }}    IN    NS    {{ object.data }}
{% endfor %}

; AddressRecords
{% for object in object.addressrecord_set.all %}
{{ object.data }}    {{ object.ttlx }}    IN    A    {{ object.ip }}
{% endfor %}

; CanonicalNameRecord
{% for object in object.canonicalnamerecord_set.all %}
{{ object.data }}    {{ object.ttlx }}    IN    CNAME    {{ object.target }}
{% endfor %}

; MailExchangeRecord
{% for object in object.mailexchangerecord_set.all %}
@    {{ object.ttlx }}    IN    MX    {{ object.priority }} {{ object.data }}
{% endfor %}

; TXT
{% for object in object.textrecord_set.all %}
{{ object.data }}    {{ object.ttlx }}    IN    TXT    {{ object.text|safe }}
{% endfor %}

; SRV
{% for object in object.servicerecord_set.all %}
{{ object.data }}    {{ object.ttlx }}    IN    SRV {{ object.priority }} {{ object.weight }} {{ object.port }}    {{ object.target }}
{% endfor %}
{'fraction_non_alphanumeric': 0.15677562678514756, 'fraction_numerical': 0.000952078705172961, 'mean_word_length': 1.9792060491493384, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4731987', 'n_tokens_mistral': 1024, 'n_tokens_neox': 919, 'n_words': 198}