postlund / pyatv

A client library for Apple TV and AirPlay devices
https://pyatv.dev
MIT License
875 stars 95 forks source link

doesn't find devices that zeroconf by itself can #1317

Open MartySkinner opened 2 years ago

MartySkinner commented 2 years ago

Describe the bug

Using pyatv 0.8.2, and the Docker image from pyatv master (which I presume is 0.9.0), I get no devices shown during atvremote scan operations… both with Multicast and Unicast to a specific AppleTV. By running zeroconf's async_apple_scanner.py example script I see all kinds of devices, including the AppleTV, iPhones, Macs, etc.

Error log

% python3 atvremote.py scan --debug
2021-09-19 22:04:36 DEBUG [pyatv.support.net]: Binding on *:5353
2021-09-19 22:04:36 DEBUG [pyatv.support.net]: Binding on 127.0.0.1:0
2021-09-19 22:04:36 DEBUG [pyatv.support.net]: Binding on 127.0.0.2:0
2021-09-19 22:04:36 DEBUG [pyatv.support.net]: Binding on 192.168.10.5:0
2021-09-19 22:04:39 DEBUG [pyatv.support.scan]: Auto-discovered mini Mac at 192.168.10.5:49234 via Protocol.Companion ({'rpmac': '0', 'rphn': '00367c726722', 'rpfl': '0x20000', 'rpha': '4eab99f35d3e', 'rpvr': '260.3', 'rpad': 'aff55bbe9465', 'rphi': 'a841f9ac72f5', 'rpba': '34:0C:51:40:5B:06'})
Scan Results
========================================
% docker run  --rm --network=host ghcr.io/postlund/pyatv:master atvremote scan -t 15 --debug -s 192.168.30.33
2021-09-20 03:14:13 DEBUG [pyatv.support.knock]: Knocking at ports [3689, 7000, 49152, 32498] on 192.168.30.33
2021-09-20 03:14:18 DEBUG [pyatv.support.knock]: Knocking at ports [3689, 7000, 49152, 32498] on 192.168.30.33
2021-09-20 03:14:22 DEBUG [pyatv.support.knock]: Knocking at ports [3689, 7000, 49152, 32498] on 192.168.30.33
2021-09-20 03:14:26 DEBUG [pyatv.support.knock]: Knocking at ports [3689, 7000, 49152, 32498] on 192.168.30.33
Scan Results
========================================

How to reproduce the bug?

atvremote -s 192.168.30.33 scan for Unicast. atvremote scan for Multicast.

What is expected behavior?

Scan results should list the AppleTV.

Operating System

macOS 11.6 on M1 Mac Mini

Python

3.9

pyatv

0.8.2

Device

Apple TV 4K tvOS 14.7

Additional context

The Mac Mini (192.168.10.5) is on a different subnet from my AppleTV (192.168.30.33), and my iPhone (192.168.40.n) is on yet another subnet. My home gateway (rebroadcasting as 192.168.10.1 in the output below) runs Avahi to get the multicasts across the subnets.

For what it's worth, I see lots of protocols listed with the AppleTV showing up using the Discovery app on both my iPhone and on the M1 Mac Mini where these command-line tests were done. So I know that the devices can get their messages across the subnets.

Here is just some of the output from async_apple_scanner.py showing my AppleTV:

DEBUG:zeroconf:Received from '192.168.10.1':5353 [socket 6 (('0.0.0.0', 5353))]: <DNSIncoming:{id=0, flags=33792, truncated=False, n_q=0, n_ans=15, n_auth=0, n_add=0, questions=[], answers=[record[ptr,in,_mediaremotetv._tcp.local.]=4500/4499,Living Room._mediaremotetv._tcp.local., record[nsec,in-unique,Living Room._mediaremotetv._tcp.local.]=4500/4499,Living Room._mediaremotetv._tcp.local.,txt|srv, record[a,in-unique,Living-Room.local.]=120/119,192.168.30.33, record[srv,in-unique,CCD28185D990@Living Room._raop._tcp.local.]=120/119,Living-Room.local.:7000, record[srv,in-unique,Living Room._airplay._tcp.local.]=120/119,Living-Room.local.:7000, record[txt,in-unique,CCD28185D990@Living Room._raop._tcp.local.]=4500/4499,b'\ncn=0,1'..., record[txt,in-unique,Living Room._airplay._tcp.local.]=4500/4499,b'\x05acl=0\x18'..., record[srv,in-unique,Living Room._mediaremotetv._tcp.local.]=120/119,Living-Room.local.:49153, record[txt,in-unique,Living Room._mediaremotetv._tcp.local.]=4500/4499,b'\x13ModelN'..., record[ptr,in,_raop._tcp.local.]=4500/4499,CCD28185D990@Living Room._raop._tcp.local., record[ptr,in,_airplay._tcp.local.]=4500/4499,Living Room._airplay._tcp.local., record[txt,in,Living Room._device-info._tcp.local.]=4500/4499,b'\rmodel='...]}> (1235 bytes) as [b"\x00\x00\x84\x00\x00\x00\x00\x0f\x00\x00\x00\x00\x0e_mediaremotetv\x04_tcp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00\x0e\x0bLiving Room\xc0\x0c\x0bLiving-Room\xc0 \x00/\x80\x01\x00\x00\x00x\x00\x08\xc1\xe3\x00\x04@\x00\x00\x08\x18CCD28185D990@Living Room\x05_raop\xc0\x1b\x00/\x80\x01\x00\x00\x11\x94\x00\t\xc0\xa7\x00\x05\x00\x00\x80\x00@\x0bLiving Room\x08_airplay\xc0\x1b\x00/\x80\x01\x00\x00\x11\x94\x00\t\xc0\x87\x00\x05\x00\x00\x80\x00@\xc01\x00/\x80\x01\x00\x00\x11\x94\x00\t\xc01\x00\x05\x00\x00\x80\x00@\xc0?\x00\x01\x80\x01\x00\x00\x00x\x00\x04\xc0\xa8\x1e!\xc0_\x00!\x80\x01\x00\x00\x00x\x00\x08\x00\x00\x00\x00\x1bX\xc0?\xc0\x93\x00!\x80\x01\x00\x00\x00x\x00\x08\x00\x00\x00\x00\x1bX\xc0?\xc0_\x00\x10\x80\x01\x00\x00\x11\x94\x00\xc0\ncn=0,1,2,3\x07da=true\x08et=0,3,5\x18ft=0x4A7FDFD5,0x3C155FDE\x08sf=0x644\x08md=0,1,2\ram=AppleTV6,2Cpk=d95f8347c93e79e6eacd592df643e65fcb7b010cbd6fb83eb8cc452b2bbaf159\x06tp=UDP\x08vn=65537\tvs=550.10\x07ov=14.7\x04vv=2\xc0\x93\x00\x10\x80\x01\x00\x00\x11\x94\x01\x7f\x05acl=0\x18btaddr=CC:D2:81:85:0D:11\x1adeviceid=CC:D2:81:85:D9:90\x0ffex=1d9/St5fFTw\x1efeatures=0x4A7FDFD5,0x3C155FDE\x0bflags=0x644(gid=006DF07C-29A8-4400-8545-8C8CB78DF670\x05igl=1\x06gcgl=1\x10model=AppleTV6,2\rprotovers=1.1'pi=37eb34d4-658e-4df2-b69a-53c611a5ee46(psi=0C07F00D-029C-4E56-BFBC-835D23371DB0Cpk=d95f8347c93e79e6eacd592df643e65fcb7b010cbd6fb83eb8cc452b2bbaf159\x0esrcvers=550.10\x0bosvers=14.7\x04vv=2\xc01\x00!\x80\x01\x00\x00\x00x\x00\x08\x00\x00\x00\x00\xc0\x01\xc0?\xc01\x00\x10\x80\x01\x00\x00\x11\x94\x01\x03\x13ModelName=Apple\xc2\xa0TV\x10AllowPairing=YES\x17BluetoothAddress=\xcc\xd2\x81\x85\r\x11\x1cmacAddress=cc:d2:81:85:d9:90\x10Name=Living Room5UniqueIdentifier=CDCFFF7D-40FA-4C47-B351-762775A221E3\x18SystemBuildVersion=18M60HLocalAirPlayReceiverPairingIdentity=0C07F00D-029C-4E56-BFBC-835D23371DB0\xc0x\x00\x0c\x00\x01\x00\x00\x11\x94\x00\x02\xc0_\xc0\x9f\x00\x0c\x00\x01\x00\x00\x11\x94\x00\x02\xc0\x93\x0bLiving Room\x0c_device-info\xc0\x1b\x00\x10\x00\x01\x00\x00\x11\x94\x00\x0e\rmodel=J105aAP"]
Service Living Room._mediaremotetv._tcp.local. of type _mediaremotetv._tcp.local. state changed: ServiceStateChange.Added
Service CCD28185D990@Living Room._raop._tcp.local. of type _raop._tcp.local. state changed: ServiceStateChange.Added
Service Living Room._airplay._tcp.local. of type _airplay._tcp.local. state changed: ServiceStateChange.Added
Service Living Room._device-info._tcp.local. of type _device-info._tcp.local. state changed: ServiceStateChange.Updated
Info from zeroconf.get_service_info: AsyncServiceInfo(type='_mediaremotetv._tcp.local.', name='Living Room._mediaremotetv._tcp.local.', addresses=[b'\xc0\xa8\x1e!'], port=49153, weight=0, priority=0, server='Living-Room.local.', properties={b'ModelName': b'Apple\xc2\xa0TV', b'AllowPairing': b'YES', b'BluetoothAddress': b'\xcc\xd2\x81\x85\r\x11', b'macAddress': b'cc:d2:81:85:d9:90', b'Name': b'Living Room', b'UniqueIdentifier': b'CDCFFF7D-40FA-4C47-B351-762775A221E3', b'SystemBuildVersion': b'18M60', b'LocalAirPlayReceiverPairingIdentity': b'0C07F00D-029C-4E56-BFBC-835D23371DB0'}, interface_index=None)
  Name: Living Room._mediaremotetv._tcp.local.
  Addresses: 192.168.30.33:49153
  Weight: 0, priority: 0
  Server: Living-Room.local.
  Properties are:
    b'ModelName': b'Apple\xc2\xa0TV'
    b'AllowPairing': b'YES'
    b'BluetoothAddress': b'\xcc\xd2\x81\x85\r\x11'
    b'macAddress': b'cc:d2:81:85:d9:90'
    b'Name': b'Living Room'
    b'UniqueIdentifier': b'CDCFFF7D-40FA-4C47-B351-762775A221E3'
    b'SystemBuildVersion': b'18M60'
    b'LocalAirPlayReceiverPairingIdentity': b'0C07F00D-029C-4E56-BFBC-835D23371DB0'

DEBUG:zeroconf:offsets = questions=0, answers=0, authorities=0, additionals=0
DEBUG:zeroconf:lengths = questions=3, answers=1, authorities=0, additionals=0
DEBUG:zeroconf:now offsets = questions=3, answers=1, authorities=0, additionals=0
postlund commented 2 years ago

Zeroconf across subnets is a hassle and I've had various issues with it in the past. I also know that my implementations have some issues. I used to rely on python-zeroconf but decided to write my own implementation due to various limitations. But as a lot has changed since then and everything I missed in python-zeroconf is implemented now, I will at some point switch back to python-zeroconf and hopefully be more compliant. There's an issue about it, #1202. Will likely give that priority once 0.9.0 is out.

Unicast scanning will however never work across subnets (unless you do some kind of NAT'ing) as Apple devices will silently drop MDNS packets from other networks (according to specs). It only works on the same network because of that.

You could try --mdns-debug and see if any other traffic is logged. Maybe we can get some clues from that.

MartySkinner commented 2 years ago

For some reason I thought you had already gone back to using zeroconf in 0.9.0. My bad. At least now you have some data that confirms it will be able to resolve some issues for your project.

Thanks for the note about Unicast scanning. Sounds kinda silly for Apple to drop packets from other networks — they got on the wire for a reason! :)

Here's the logging you requested. 192.168.10.5 is the Mac Mini the command is being run on.

% atvremote scan --mdns-debug
2021-09-20 11:07:45 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0c_device-info\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01\x08_airplay\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:45 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_appletv-v2\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_touch-able\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:45 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0e_mediaremotetv\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_raop\x04_tcp\x05local\x00\x00\x0c\x80\x01\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:45 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x02\x00\x00\x00\x00\x00\x00\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:45 DEBUG [pyatv.support.mdns]: Received DNS response from ('192.168.10.5', 5353) (Data=35ff840000010001000000060f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c8001c00c000c00010000000a000b086d696e69204d6163c00cc038002100010000000a001100000000c052086d696e692d4d6163c021c038001000010000000a007f0772704d61633d30117270484e3d3332346339653434656462310c7270466c3d3078323030303011727048413d3035656461373235616331300a727056723d3236302e3311727041443d31653936643330653262646111727048493d64616366313331373632306416727042413d45313a43413a43383a39423a39313a4239086d696e69204d61630c5f6465766963652d696...)
2021-09-20 11:07:45 DEBUG [pyatv.support.mdns]: Received DNS response from ('192.168.10.5', 5353) (Data=35ff840000010001000000060f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c8001c00c000c00010000000a000b086d696e69204d6163c00cc038002100010000000a001100000000c052086d696e692d4d6163c021c038001000010000000a007f0772704d61633d30117270484e3d3332346339653434656462310c7270466c3d3078323030303011727048413d3035656461373235616331300a727056723d3236302e3311727041443d31653936643330653262646111727048493d64616366313331373632306416727042413d45313a43413a43383a39423a39313a4239086d696e69204d61630c5f6465766963652d696...)
2021-09-20 11:07:46 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0c_device-info\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01\x08_airplay\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:46 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_appletv-v2\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_touch-able\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:46 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0e_mediaremotetv\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_raop\x04_tcp\x05local\x00\x00\x0c\x80\x01\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:46 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x02\x00\x00\x00\x00\x00\x00\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:46 DEBUG [pyatv.support.mdns]: Received DNS response from ('192.168.10.5', 5353) (Data=35ff840000010001000000060f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c8001c00c000c00010000000a000b086d696e69204d6163c00cc038002100010000000a001100000000c052086d696e692d4d6163c021c038001000010000000a007f0772704d61633d30117270484e3d3332346339653434656462310c7270466c3d3078323030303011727048413d3035656461373235616331300a727056723d3236302e3311727041443d31653936643330653262646111727048493d64616366313331373632306416727042413d45313a43413a43383a39423a39313a4239086d696e69204d61630c5f6465766963652d696...)
2021-09-20 11:07:46 DEBUG [pyatv.support.mdns]: Received DNS response from ('192.168.10.5', 5353) (Data=35ff840000010001000000060f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c8001c00c000c00010000000a000b086d696e69204d6163c00cc038002100010000000a001100000000c052086d696e692d4d6163c021c038001000010000000a007f0772704d61633d30117270484e3d3332346339653434656462310c7270466c3d3078323030303011727048413d3035656461373235616331300a727056723d3236302e3311727041443d31653936643330653262646111727048493d64616366313331373632306416727042413d45313a43413a43383a39423a39313a4239086d696e69204d61630c5f6465766963652d696...)
2021-09-20 11:07:47 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0c_device-info\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01\x08_airplay\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:47 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_appletv-v2\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_touch-able\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:47 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0e_mediaremotetv\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_raop\x04_tcp\x05local\x00\x00\x0c\x80\x01\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:47 DEBUG [pyatv.support.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x02\x00\x00\x00\x00\x00\x00\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 11:07:47 DEBUG [pyatv.support.mdns]: Received DNS response from ('192.168.10.5', 5353) (Data=35ff840000010001000000060f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c8001c00c000c00010000000a000b086d696e69204d6163c00cc038002100010000000a001100000000c052086d696e692d4d6163c021c038001000010000000a007f0772704d61633d30117270484e3d3332346339653434656462310c7270466c3d3078323030303011727048413d3035656461373235616331300a727056723d3236302e3311727041443d31653936643330653262646111727048493d64616366313331373632306416727042413d45313a43413a43383a39423a39313a4239086d696e69204d61630c5f6465766963652d696...)
2021-09-20 11:07:47 DEBUG [pyatv.support.mdns]: Received DNS response from ('192.168.10.5', 5353) (Data=35ff840000010001000000060f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c8001c00c000c00010000000a000b086d696e69204d6163c00cc038002100010000000a001100000000c052086d696e692d4d6163c021c038001000010000000a007f0772704d61633d30117270484e3d3332346339653434656462310c7270466c3d3078323030303011727048413d3035656461373235616331300a727056723d3236302e3311727041443d31653936643330653262646111727048493d64616366313331373632306416727042413d45313a43413a43383a39423a39313a4239086d696e69204d61630c5f6465766963652d696...)
Scan Results
========================================

In this log, 192.168.65.0/24 is the Docker network range. I have no idea where the 172. addresses are from.

% docker run  --rm --network=host ghcr.io/postlund/pyatv:master atvremote scan --mdns-debug
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0c_device-info\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01\x08_airplay\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_appletv-v2\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_touch-able\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0e_mediaremotetv\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_raop\x04_tcp\x05local\x00\x00\x0c\x80\x01\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x02\x00\x00\x00\x00\x00\x00\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:00 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0c_device-info\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01\x08_airplay\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_appletv-v2\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_touch-able\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0e_mediaremotetv\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_raop\x04_tcp\x05local\x00\x00\x0c\x80\x01\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x02\x00\x00\x00\x00\x00\x00\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:01 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0c_device-info\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01\x08_airplay\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x0f_companion-link\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_appletv-v2\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0b_touch-able\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x05\x00\x00\x00\x00\x00\x00\x05_hscp\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0e_mediaremotetv\x04_tcp\x05local\x00\x00\x0c\x80\x01\x05_raop\x04_tcp\x05local\x00\x00\x0c\x80\x01\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Sending multicast DNS request to 224.0.0.251:5353 (Data=bytearray(b'5\xff\x01 \x00\x02\x00\x00\x00\x00\x00\x00\x08_airport\x04_tcp\x05local\x00\x00\x0c\x80\x01\x0c_sleep-proxy\x04_udp\x05local\x00\x00\x0c\x80\x01'))
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff012000050000000000000c5f6465766963652d696e666f045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001085f616972706c6179045f746370056c6f63616c00000c80010f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff012000050000000000000f5f636f6d70616e696f6e2d6c696e6b045f746370056c6f63616c00000c80010b5f6170706c6574762d7632045f746370056c6f63616c00000c80010b5f746f7563682d61626c65045f746370056c6f63616c00000c8001055f68736370045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff01200005000000000000055f68736370045f746370056c6f63616c00000c80010e5f6d6564696172656d6f74657476045f746370056c6f63616c00000c8001055f72616f70045f746370056c6f63616c00000c8001085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 5353) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.3', 60992) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('192.168.65.4', 60741) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.18.0.1', 62505) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.19.0.1', 57069) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
2021-09-20 15:20:02 DEBUG [pyatv.core.mdns]: Received DNS response from ('172.17.0.1', 60081) (Data=35ff01200002000000000000085f616972706f7274045f746370056c6f63616c00000c80010c5f736c6565702d70726f7879045f756470056c6f63616c00000c8001)
Scan Results
========================================
postlund commented 2 years ago

Yeah, it's great to know that it seems to work better with python-zeroconf. I might have to prioritize migration to that.

Dropping packets form other networks are according to specification. Zeroconf is a local-network only protocol by design, so it shouldn't leak that information for integrity and security reasons (it's unsecure enough the way it is). It's a very reasonable thing to do IMHO.

Does any of the responses come from addresses of your missing devices? Might be worth picking one for close examination.