source: branches/stable/templates/dnsq.tmpl@ 614

Last change on this file since 614 was 548, checked in by Kris Deugau, 11 years ago

/branches/stable

Merge reverse DNS work and object conversion from /trunk, part 5

Includes changes through r543 with a few more minor conflicts.

File size: 2.2 KB
Line 
1<table class="wholepage"><tr>
2<TMPL_INCLUDE NAME="menu.tmpl">
3
4<td align="center" valign="top">
5
6<TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
7
8<form action="<TMPL_VAR NAME=script_self>" method="post">
9<fieldset>
10<input type="hidden" name="page" value="dnsq" />
11
12<table>
13<tr class="tableheader"><td align="center" colspan="2">DNS Query</td></tr>
14<tr class="datalinelight">
15 <td>Host/Name:</td>
16 <td><input name="qfor" value="<TMPL_VAR NAME=qfor>" /></td>
17</tr>
18<tr class="datalinelight">
19 <td>Record type:</td>
20 <td>
21 <select name="type">
22 <TMPL_LOOP NAME=typelist>
23 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option>
24 </TMPL_LOOP>
25 </select>
26 </td>
27</tr>
28<tr class="datalinelight">
29 <td>Non-recursive query:</td>
30 <td><input type="checkbox" name="nrecurse"<TMPL_IF nrecurse> checked="checked"</TMPL_IF> /></td>
31</tr>
32<tr class="datalinelight">
33 <td>Use this server:</td>
34 <td><input name="resolver" value="<TMPL_VAR NAME=resolver>" /></td>
35</tr>
36<tr class="datalinelight"><td align="center" colspan="2"><input type="submit" value=" Query DNS " /></td></tr>
37</table>
38
39</fieldset>
40</form>
41
42<br />
43<TMPL_IF NAME=showresults>
44<table width="350px">
45<tr class="tableheader"><td colspan="3">Query:</td></tr>
46<tr class="datalinelight">
47 <td>
48 <TMPL_VAR NAME=qfor>
49 </td>
50 <td colspan="2">
51 <TMPL_VAR NAME=frtype>
52 </td>
53</tr>
54<tr class="tableheader"><td colspan="3">Response from <TMPL_VAR NAME=usedresolver>:</td></tr>
55<TMPL_LOOP NAME=answer><tr class="datalinelight" valign="top">
56<td><TMPL_VAR NAME=host></td>
57<td><TMPL_VAR NAME=ftype></td>
58<td><TMPL_VAR NAME=rdata></td></tr>
59</TMPL_LOOP>
60<TMPL_IF authority>
61<tr class="tableheader"><td colspan="3">Authority:</td></tr>
62<TMPL_LOOP NAME=authority><tr class="datalinelight">
63<td><TMPL_VAR NAME=host></td>
64<td><TMPL_VAR NAME=ftype></td>
65<td><TMPL_VAR NAME=rdata></td></tr>
66</TMPL_LOOP>
67</TMPL_IF>
68<TMPL_IF additional>
69<tr class="tableheader"><td colspan="3">Additional information:</td></tr>
70<TMPL_LOOP NAME=additional><tr class="datalinelight">
71<td><TMPL_VAR NAME=host></td>
72<td><TMPL_VAR NAME=ftype></td>
73<td><TMPL_VAR NAME=rdata></td></tr>
74</TMPL_LOOP>
75</TMPL_IF>
76</table>
77</TMPL_IF>
78
79</td>
80</tr>
81</table>
82
Note: See TracBrowser for help on using the repository browser.