owasp-amass / amass

In-depth attack surface mapping and asset discovery
https://owasp.org/www-project-amass/
Other
11.49k stars 1.84k forks source link

The enumeration was unable to build the pool of resolvers #277

Closed kcnewb1e closed 4 years ago

kcnewb1e commented 4 years ago

kcnewbie@b0x:~/pentesting$ amass enum -d google.com The enumeration was unable to build the pool of resolvers why am got that error? am install amass on snap package..

how i can fixit?

caffix commented 4 years ago

That error indicates that the DNS resolvers being used are not reachable from your network environment. Please try providing DNS resolvers that you know will be reachable and allow unfiltered use via the '-r' and/or '-rf' flags

kcnewb1e commented 4 years ago

i was trying that solution , but i got other error like this:

amass enum -d -rf xxxx.com Configuration error: No root domain names were provided

caffix commented 4 years ago

Each DNS resolver is identified as an IP address to the nameserver and the '-d' and/or '-df' flags are still required with argument(s)

kcnewb1e commented 4 years ago

what the argument i needed? in all tutorial they use amass enum -d xxxx.com and its work...?

caffix commented 4 years ago

Please read the usage information: amass enum -help

Proper use of the flags you're interested in look like this: amass enum -r 8.8.8.8 -d example.com

kcnewb1e commented 4 years ago

still not work The enumeration was unable to build the pool of resolvers

caffix commented 4 years ago

Join the Amass Discord server and we can help you troubleshoot this.

You need to try using other DNS resolvers that your network environment will allow. Check what resolver your host OS is using by default and assign that IP address using the '-r' flag

fajarslvn commented 4 years ago

Yeah I got the same problem, everything I tried and it useless..

kcnewb1e commented 4 years ago

Yaa me too

shabbadont commented 3 years ago

Why closed if not resolved? I have the same problem

caffix commented 3 years ago

@shabbadont It isn't a problem with the tool. It means your network is preventing Amass from reaching the various DNS resolvers used by default. You can change your infrastructure, execute the tool from another environment, or specify preferred resolvers using the appropriate flags. See the -r and -rf flags

asolab commented 3 years ago

@caffix I downloaded amass zip file got the same problem too, any solution yet?

caffix commented 3 years ago

@asolab Unfortunately, Amass does not know which DNS resolvers you can reach from your network. The user much provide the correct settings or run the tool from a more flexible location

asolab commented 3 years ago

@caffix can you please specify the flexible location?

caffix commented 3 years ago

Some users execute Amass within a cloud environment

asolab commented 3 years ago

I tried installing through snap but keep having issues with "snapd" in Ubuntu on window 10, that''s why I opted for zip file

caffix commented 3 years ago

Using Docker is the easiest and most reliable option

asolab commented 3 years ago

I will try it now, Thanks Boss

caffix commented 3 years ago

No problem. Please bring additional questions to the Amass Discord server

asolab commented 3 years ago

invite link

caffix commented 3 years ago

It's on the project repo README: Amass Discord server

sdsrrt commented 2 years ago

Screenshot from 2021-08-22 10-41-37 This is show me when i use it.

shubham108108108 commented 2 years ago

amass not work please help me The enumeration was unable to build the pool of resolvers

areebtanzeem commented 2 years ago

Use cloudflare warp or some other VPN it'll work with that.

KaustubhGiri commented 2 years ago

Just try with sudo command it work for me. sudo amass enum -d google.com

anuragk2406 commented 1 year ago

Please read the usage information: amass enum -help

Proper use of the flags you're interested in look like this: amass enum -r 8.8.8.8 -d example.com

Thanks it works but its loading the results very slow. Anything we can do to speed it up?

aliayaz7 commented 1 year ago

kcnewbie@b0x:~/pentesting$ amass enum -d google.com The enumeration was unable to build the pool of resolvers

I was facing this error I entered some command $cd / $sudo apt-get install amass After these commands This command "amass enum -d google.com" was working fine for me.

gofish543 commented 1 year ago

This is an issue regarding the pool.ClientSubnetCheck() within local.go

Commenting this out has the tool run perfectly. What does this function call do?

galactghost commented 5 months ago

Can you tell me where is local.go in kali linux?