1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
2 | <table class="wholepage"><tr>
|
---|
3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
4 |
|
---|
5 | <td align="center">
|
---|
6 |
|
---|
7 | <TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
|
---|
8 |
|
---|
9 | <form action="dns.cgi" method="POST">
|
---|
10 | <input type=hidden name="sid" value="<TMPL_VAR NAME=sid>">
|
---|
11 | <input type=hidden name="page" value="dnsq">
|
---|
12 |
|
---|
13 | <table>
|
---|
14 | <tr class="tableheader"><td align="center" colspan=2>DNS Query</td></tr>
|
---|
15 | <tr class="datalinelight">
|
---|
16 | <td>Host/Name:</td>
|
---|
17 | <td><input name="qfor" value="<TMPL_VAR NAME=qfor>"></td>
|
---|
18 | </tr>
|
---|
19 | <tr class="datalinelight">
|
---|
20 | <td>Record type:</td>
|
---|
21 | <td>
|
---|
22 | <select name="type">
|
---|
23 | <TMPL_LOOP NAME=typelist>
|
---|
24 | <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected</TMPL_IF>><TMPL_VAR NAME=recname></option>
|
---|
25 | </TMPL_LOOP>
|
---|
26 | </select>
|
---|
27 | </td>
|
---|
28 | </tr>
|
---|
29 | <tr class="datalinelight">
|
---|
30 | <td>Non-recursive query:</td>
|
---|
31 | <td><input type=checkbox name="nrecurse"<TMPL_IF nrecurse> checked</TMPL_IF>></td>
|
---|
32 | </tr>
|
---|
33 | <tr class="datalinelight">
|
---|
34 | <td>Use this server:</td>
|
---|
35 | <td><input name="resolver" value="<TMPL_VAR NAME=resolver>"></td>
|
---|
36 | </tr>
|
---|
37 | <tr class="datalinelight"><td align="center" colspan=2><input type=submit value=" Query DNS "></td></tr>
|
---|
38 | </table>
|
---|
39 |
|
---|
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 |
|
---|