31 lines
		
	
	
		
			923 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			923 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html>
 | |
|   <body>
 | |
|     <!--
 | |
| 
 | |
|     This demo is meant to have 3 feilds that accept base-64, hex and array values the user
 | |
|     can copy in, and a button that will call the dns parser to parse the input and display
 | |
|     the output in a seperate field.
 | |
| 
 | |
|     -->
 | |
|     <!-- run `serve-https` to test at https://localhost.daplie.me:8443/demo.html -->
 | |
| 
 | |
|     <!-- put form here -->
 | |
| 
 | |
|     <!-- I added some of the library files for you -->
 | |
|     <script src="./dns.types.js"></script>
 | |
|     <script src="./dns.classes.js"></script>
 | |
|     <script src="./dns.type.a.js"></script>
 | |
|     <script src="./dns.rdata.parse.js"></script>
 | |
|     <script src="./dns.unpack-labels.js"></script>
 | |
|     <script src="./dns.parser.js"></script>
 | |
|     <script src="./dns.packer.js"></script>
 | |
|     <script src="./dns.js"></script>
 | |
| 
 | |
|     <!-- put jquery here -->
 | |
| 
 | |
|     <!-- application code in here -->
 | |
|     <script src="./browser.js"></script>
 | |
|   </body>
 | |
| </html>
 |