41 lines
		
	
	
		
			841 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			41 lines
		
	
	
		
			841 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								{ header: 
							 | 
						||
| 
								 | 
							
								   { id: 0,
							 | 
						||
| 
								 | 
							
								     qr: 1,
							 | 
						||
| 
								 | 
							
								     opcode: 0,
							 | 
						||
| 
								 | 
							
								     aa: 1,
							 | 
						||
| 
								 | 
							
								     tc: 0,
							 | 
						||
| 
								 | 
							
								     rd: 0,
							 | 
						||
| 
								 | 
							
								     ra: 0,
							 | 
						||
| 
								 | 
							
								     res1: 0,
							 | 
						||
| 
								 | 
							
								     res2: 0,
							 | 
						||
| 
								 | 
							
								     res3: 0,
							 | 
						||
| 
								 | 
							
								     rcode: 0 },
							 | 
						||
| 
								 | 
							
								  question: [],
							 | 
						||
| 
								 | 
							
								  answer: 
							 | 
						||
| 
								 | 
							
								   [ { name: '_http._tcp.local',
							 | 
						||
| 
								 | 
							
								       type: 12,
							 | 
						||
| 
								 | 
							
								       class: 1,
							 | 
						||
| 
								 | 
							
								       ttl: 3600,
							 | 
						||
| 
								 | 
							
								       data: 'myserver._http._tcp.local' },
							 | 
						||
| 
								 | 
							
								     { name: 'myserver._http._tcp.local',
							 | 
						||
| 
								 | 
							
								       type: 33,
							 | 
						||
| 
								 | 
							
								       class: 1,
							 | 
						||
| 
								 | 
							
								       ttl: 3600,
							 | 
						||
| 
								 | 
							
								       priority: 0,
							 | 
						||
| 
								 | 
							
								       weight: 0,
							 | 
						||
| 
								 | 
							
								       port: 8080,
							 | 
						||
| 
								 | 
							
								       target: 'myserver1.local' },
							 | 
						||
| 
								 | 
							
								     { name: 'myserver._http._tcp.local',
							 | 
						||
| 
								 | 
							
								       type: 16,
							 | 
						||
| 
								 | 
							
								       class: 1,
							 | 
						||
| 
								 | 
							
								       ttl: 3600,
							 | 
						||
| 
								 | 
							
								       data: [ 'dept=deustotech', 'hello=world' ] },
							 | 
						||
| 
								 | 
							
								     { name: 'myserver1.local',
							 | 
						||
| 
								 | 
							
								       type: 1,
							 | 
						||
| 
								 | 
							
								       class: 1,
							 | 
						||
| 
								 | 
							
								       ttl: 3600,
							 | 
						||
| 
								 | 
							
								       address: '127.0.0.1' } ],
							 | 
						||
| 
								 | 
							
								  authority: [],
							 | 
						||
| 
								 | 
							
								  additional: [],
							 | 
						||
| 
								 | 
							
								  edns_options: [],
							 | 
						||
| 
								 | 
							
								  payload: undefined }
							 |