miselin / mdns-unicast-lookup Goto Github PK
View Code? Open in Web Editor NEWProvides responds to mDNS queries on a network by performing unicast DNS lookups.
License: ISC License
Provides responds to mDNS queries on a network by performing unicast DNS lookups.
License: ISC License
I have a domain of .local. As a result, certain devices will force the use of mdns instead of dns. A WireShark capture on the proxy device evidences the traffic for mdns, but not the resulting dns traffic which is what I thought this proxy would do. Am I missing something?
Thanks in advance.
Upon loading the proxy, I witness it resolving A, AAAA, and PTR records. As soon as I try to authenticate via the kerberos protocol on an iOS device the proxy crashes processing an SRV record. Below is the output of that crash:
mDNS query from 172.XXX.XXX.XXX:5353
for _kerberos._udp.NETWORK.LOCAL. [33]
Traceback (most recent call last):
File "proxy.py", line 91, in <module>
tmp = to_wire_helper()
NameError: name 'to_wire_helper' is not defined
M53081182:mDNS-Unicast-Lookup-master mhansen$
I am running python 2.7 on OS X 10.11.6
After installing dependencies on OSX 10.11.6, I attempted to run below query but no record was found.
$ python mdns-lookup.py --type SRV _kerberos._udp.NETWORK.LOCAL
Timed out waiting for a response for '_kerberos._udp.NETWORK.LOCAL' (SRV)
I ran this to ensure the records were resolvable from the localhost:
$ nslookup
> set q=srv
> _kerberos._udp.NETWORK.LOCAL
;; Truncated, retrying in TCP mode.
Server: 10.28.4.24
Address: 10.28.4.24#53
_kerberos._udp.NETWORK.LOCAL service = 0 100 88 domct001.network.local.
... numerous other results ...
Am I doing something wrong with the CLI interface?
Thanks in advance.
> python mdns-lookup.py SRV _kerberos._udp.NETWORK.LOCAL
Traceback (most recent call last):
File "mdns-lookup.py", line 78, in <module>
signal.signal(signal.SIGALRM, timeout_handler)
AttributeError: 'module' object has no attribute 'SIGALRM'
(No worries running on OSX=)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.