Comments (12)
Had the same error trying to run it in MacOS. Apparently OSX doesn't have epoll
but does have kqueue
which is similar.
from massdns.
I have added a nolinux
target to the Makefile
. It unsets some directives that cause massdns to be built with epoll
support. I tested it on FreeBSD, which does not support epoll, and it appears to work. However, it is based on busy-wait polling. I might eventually implement kqueue
support or switch to a multi-platform library like libuv
. Now that I have added OS-specific preprocessor definitions, making use of the features of autotools
or cmake
would be appropriate as well, but don't expect any of this to happen soon.
Maybe you can test whether the latest commits fix the issue for your operating systems.
from massdns.
What OS are you using? Currently, MassDNS only runs on Linux because it makes use of epoll for I/O event notification which is specific to Linux.
Maybe version 0.2, making use of busy polling, works for you.
from massdns.
Thanks for doing that. I can now successfully run make nolinux
and get a binary in the bin folder.
I tried running: ./bin/massdns -r lists/resolvers.txt -t AAAA -w results.txt test.txt
as the readme suggest with only google.com in test.txt and it gave me: Error sending: Invalid argument
. Is this user error?
from massdns.
I am sorry. I fixed a copy and paste error in the last commit. Does this fix the error for you?
I have also removed the log output in case the "error" results from EAGAIN
or EWOULDBLOCK
for non-blocking sockets in another commit. Are your results fine or is results.txt
empty?
from massdns.
Still get the same error and results.txt is empty
from massdns.
Should have been fixed by 050c85b. Can you confirm?
from massdns.
Nope, still getting the same issue. I've posted a recording here in case you'd like more insight into what's happening on my end.
from massdns.
Unfortunately, I could not reproduce the issue on a Mac when compiling the newest commit. However, I was able to reproduce the issue with versions before 050c85b. Would you mind posting the contents of your resolvers file and the exact command (including all parameters) you are using in order to start massdns? Is it possible that your resolver file contains IPv6 resolvers with IPv6 being disabled on your system?
from massdns.
Aha! It works. I'm fairly certain it was user error the last time. I think I pulled the updates but didn't re-make the binary.
Works perfectly now, thanks for dealing with me.
from massdns.
hello,
can i install massdns on windows7????if yes then what is command for installing?
from massdns.
In order to run it on Windows, install Cygwin
including the gcc-core
, git
and make
packages. Open the Cygwin
terminal, clone the repository and build it using make nolinux
.
I will close this issue now because the OP has not answered for more than three months. Given that I was able to compile massdns
on Windows and Mac, I assume that it is fixed now.
from massdns.
Related Issues (20)
- Problem compiling on macOS HOT 1
- to install tool
- massdns install problem on windows HOT 2
- output data is unrecognize HOT 1
- installation error?
- No output stdout of servfails HOT 1
- massdns is not created on windows. HOT 2
- Epoll failure on interrupted system call HOT 3
- Massdns is not make in ubuntu. HOT 1
- Massdns does not respect concurrent lookups parameter HOT 3
- Empty data.answers[] when doing too many requests HOT 1
- Privileges could not be dropped to "nobody:nogroup" HOT 1
- TXT records are stripped of the first character when output is set to S, J or F HOT 2
- Error while running scripts/recon.py HOT 3
- EDNS Support HOT 1
- i got error: The domain list may only be supplied once. HOT 1
- Meaning of --verify-ip flag HOT 2
- Invalid value A for flag t HOT 3
- Unable to compile massdns on Ubuntu(linux) HOT 2
- could not create runner : could not find massdns binary
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from massdns.