This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mDNS; how to change the " Time to live "

I have an Android app need to discard the mDNS packet once the all information is retrieved. But the Android nsdManger cache it too long.

By wireshark, I found the mDNS packet sent by CC3000 actually asks to cache it for 1 hour, 15 minutes. Is there anyway I can change it to 10 seconds? Thanks.

below are parsed  info from wireshark:

_device-info._udp.local: type PTR, class IN, CC3000._device-info._udp.local
Name: _device-info._udp.local
Type: PTR (Domain name pointer)
.000 0000 0000 0001 = Class: IN (0x0001)
0... .... .... .... = Cache flush: False
Time to live: 1 hour, 15 minutes
Data length: 27
Domain name: CC3000._device-info._udp.local
_services._dns-sd._udp.local: type PTR, class IN, _device-info._udp.local
Name: _services._dns-sd._udp.local
Type: PTR (Domain name pointer)
.000 0000 0000 0001 = Class: IN (0x0001)
0... .... .... .... = Cache flush: False
Time to live: 1 hour, 15 minutes
Data length: 2
Domain name: _device-info._udp.local
CC3000._device-info._udp.local: type TXT, class IN, cache flush
Name: CC3000._device-info._udp.local
Type: TXT (Text strings)
.000 0000 0000 0001 = Class: IN (0x0001)
1... .... .... .... = Cache flush: True
Time to live: 1 hour, 15 minutes
Data length: 36
Text: dev=CC3000
Text: vendor=Texas-Instruments
CC3000._device-info._udp.local: type SRV, class IN, cache flush, priority 0, weight 0, port 1234, target target.local
Service: CC3000
Protocol: device-info
Name: _udp.local
Type: SRV (Service location)
.000 0000 0000 0001 = Class: IN (0x0001)
1... .... .... .... = Cache flush: True
Time to live: 1 hour, 15 minutes
Data length: 15
Priority: 0
Weight: 0
Port: 1234
Target: target.local
target.local: type A, class IN, cache flush, addr 192.168.1.17
Name: target.local
Type: A (Host address)
.000 0000 0000 0001 = Class: IN (0x0001)
1... .... .... .... = Cache flush: True
Time to live: 1 hour, 15 minutes
Data length: 4
Addr: 192.168.1.17 (192.168.1.17)