erbbysam / DNSGrep

Quickly Search Large DNS Datasets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

search failed for "Error: failed to find exact match via binary search"

chenchampion opened this issue · comments

hello, I try to use the project to grep the text from rapid7, the command is " go run dnsgrep.go -f fdns_a.sort.txt -i "erbbyam.com"", but the search failed for "Error: failed to find exact match via binary search". could you help to tell me what the problem ? thank you.

Are you sure the file was correctly generated? You may see this error if it was not. It will take 20+ minutes, but can you grep the file for "moc.masybbre" & share the file size you generated ?

Got it. thank you and sorry, It's my fault. close the issue.

Hello and thank you for this project,

I run into the same issue, except that my file seems correctly generated.
It has a decent size :
image

Your grep test succeeds :
image

Still the script fails :
image

I downloaded this archive : 2021-02-26-1614298023-fdns_a.json.gz
The generated file "fdns_a.sort.txt" has the following sha1 : fd664ca97fd581f9331eed0c6e7846fdd6a808f2

Do you have any idea on what could cause this issue ?

I forgot to mention that I'm running the project on a raspberry pi 4, maybe this makes a difference ?