72 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			72 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			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: 
 | |
|    [ { name: '_googlecast._tcp.local',
 | |
|        type: 12,
 | |
|        class: 1,
 | |
|        ttl: 3600,
 | |
|        isQD: true,
 | |
|        typeName: [Getter],
 | |
|        className: [Getter],
 | |
|        flag: [Getter] } ],
 | |
|   answer: 
 | |
|    [ { name: '_googlecast._tcp.local',
 | |
|        type: 12,
 | |
|        class: 1,
 | |
|        ttl: 10,
 | |
|        isQD: false,
 | |
|        typeName: [Getter],
 | |
|        className: [Getter],
 | |
|        flag: [Getter],
 | |
|        data: 'Chromecast.Bedroom._googlecast._tcp.local' } ],
 | |
|   authority: [],
 | |
|   additional: 
 | |
|    [ { name: 'Chromecast.Bedroom._googlecast._tcp.local',
 | |
|        type: 33,
 | |
|        class: 1,
 | |
|        ttl: 10,
 | |
|        isQD: false,
 | |
|        typeName: [Getter],
 | |
|        className: [Getter],
 | |
|        flag: [Getter],
 | |
|        priority: 0,
 | |
|        weight: 0,
 | |
|        port: 8009,
 | |
|        target: 'Chromecast.local' },
 | |
|      { name: 'Chromecast.Bedroom._googlecast._tcp.local',
 | |
|        type: 16,
 | |
|        class: 1,
 | |
|        ttl: 10,
 | |
|        isQD: false,
 | |
|        typeName: [Getter],
 | |
|        className: [Getter],
 | |
|        flag: [Getter],
 | |
|        data: 
 | |
|         [ 'id=39dc44f5af0f3dd4f370a392d5050f5d',
 | |
|           've=02',
 | |
|           'md=Chromecast',
 | |
|           'ic=/setup/icon.png',
 | |
|           'fn=Chromecast.Bedroom',
 | |
|           'ca=5',
 | |
|           'st=0' ] },
 | |
|      { name: 'Chromecast.local',
 | |
|        type: 1,
 | |
|        class: 1,
 | |
|        ttl: 10,
 | |
|        isQD: false,
 | |
|        typeName: [Getter],
 | |
|        className: [Getter],
 | |
|        flag: [Getter],
 | |
|        address: '192.168.1.222' } ],
 | |
|   edns_options: [],
 | |
|   payload: undefined } |