vpanel-stack/panel/ui/vdns/zones-zone.html

87 lines
3.1 KiB
HTML
Raw Normal View History

2024-02-13 14:41:15 -08:00
<include href="header.html" />
<check if="isset(@zone_array)">
<p>
<small>
<check if="{{ @ns_info_array.status=='Verified' }}">
<true>
Nameservers for {{ @ns_info_array.zone }} verified. The DNS records below are active.<br>
<check if="isset(@PHPMYPDNSURL)">
You can manage these DNS entries here: <a href="{{ @PHPMYPDNSURL }}">{{ @PHPMYPDNSURL }}</a>
</check>
</true>
<false>
<section style="color:red">NOTICE:</section>
</false>
</check>
<check if="{{ @ns_info_array.status=='Pending' }}">
The Nameservers for {{ @ns_info_array.zone }} are not pointing to this DNS system.<br>
To make this DNS active update the Nameservers at your current Domain Name Registrar to:<br>
<repeat group="{{ @ns_info_array.defaults_ns_array }}" value="{{ @nameserver }}">
<b>{{ @nameserver }}</b><br>
</repeat>
Note that after making this change it can take up to 24 hours for the changes to go through.<br>
<br>
If you are intentionally using another provider for DNS you can reference the records below for what should be added to your DNS (excluding the NS & SOA records).
</check>
<check if="{{ @ns_info_array.status=='Unknown' }}">
The Nameserver verification system could not find nameserver information for {{ @ns_info_array.zone }}.<br>
Make sure the domain name is registered and has the folowing nameservers set:<br>
<repeat group="{{ @ns_info_array.defaults_ns_array }}" value="{{ @nameserver }}">
<b>{{ @nameserver }}</b><br>
</repeat>
</check>
<check if="{{ @ns_info_array.status=='Error' }}">
There was an error verifying the Namservers for {{ @ns_info_array.zone }}.<br>
If this persists please contact tech support.
</check>
</small>
</p>
<true>
<table>
<tr>
<th>Name</th>
<th>TTL</th>
<th>Class</th>
<th>Type</th>
<th>Value</th>
</tr>
<repeat group="{{ @zone_array }}" value="{{ @record_array }}">
<tr>
<td>{{ @record_array.name }}</td>
<td>{{ @record_array.ttl }}</td>
<td>{{ @record_array.class }}</td>
<td>{{ @record_array.type }}</td>
<check if="{{ @record_array.type=='TXT' }}">
<true><td>"{{ @record_array.value }}"</td></true>
<false><td>{{ @record_array.value }}</td></false>
</check>
</tr>
</repeat>
</table>
<p><b>Notes:</b><br>
<ul>
<li>Zone info is displayed in BIND format.<br>You should be able to cut-and-past above records directly into a BIND file, if desired.</li>
<li>MX & SRV records will show the Priority as part of the record.<br>e.g. "10 mail.example.com" indicates a Priority of "10" for "mail.example.com".<br>Only MX & SRV records use Priority, all other records have an unused priority of "0".</li>
</ul>
</p>
<check if="isset(@PHPMYPDNSURL)">
<p><b>phpMyPDNS</b> can be used to manage DNS entries here: <a href="{{ @PHPMYPDNSURL }}">{{ @PHPMYPDNSURL }}</a></p>
</check>
</true>
<false>
<p>No Zone info.</p>
</false>
</check>
<include href="footer.html" />