Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrich your newly created domain names feed #87

Open
maaaaz opened this issue Jun 20, 2023 · 12 comments
Open

Enrich your newly created domain names feed #87

maaaaz opened this issue Jun 20, 2023 · 12 comments

Comments

@maaaaz
Copy link
Contributor

maaaaz commented Jun 20, 2023

Hello @atenreiro,

FYI, I assembled this project in order to provide everyday newly created domain names (NRD) that might not already be inside the "WhoisDS" source:
https://github.com/maaaaz/dnsdumps

It might help to complete your own daily feed.

Cheers!

@atenreiro
Copy link
Owner

Great! Will take a look at this 😊

Thanks a lot buddy

@atenreiro
Copy link
Owner

atenreiro commented Jun 29, 2023

I'm currently testing the DNS dumps and fetching this list daily.

At what time (and timezone) do you update this file?

@maaaaz
Copy link
Contributor Author

maaaaz commented Jun 30, 2023

@atenreiro
Copy link
Owner

I'm parsing the today_new.gz and removing the entries that are not domain names (e.g: mx1.domain.com)

@maaaaz
Copy link
Contributor Author

maaaaz commented Jul 1, 2023

Indeed you're right, I am not doing this removal as I have worklows to find potential malicious websites, so I need FQDN and not only domains.

@atenreiro
Copy link
Owner

Ok, I'm filtering using a RegEx for everything that is not in the domain.tld format.

@atenreiro
Copy link
Owner

atenreiro commented Jul 11, 2023

Hey @maaaaz

Do you need a whitelisted SSH key to access this rsync folder?

# rsynced data is in /tmp/zones
rsync --stats -az -e "ssh -o LogLevel=quiet -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /tmp/sshkey" dailynrdscan@ssh-dailynrdscan.alwaysdata.net:/home/dailynrdscan/www/zones 

@maaaaz
Copy link
Contributor Author

maaaaz commented Jul 12, 2023

Hello @atenreiro,

Why do you want to perform a rsync ?

I do a rsync to bring these data to the GitHub repository, then you have the very same information as on https://github.com/maaaaz/dnsdumps/tree/main

Cheers!

@atenreiro
Copy link
Owner

Hey @maaaaz

I was trying to replicate your script and avoid getting the feeds directly from GitHub, to avoid an additional point of failure.

@maaaaz
Copy link
Contributor Author

maaaaz commented Jul 12, 2023

Okay, nice idea but to be frank the SPOF would rather be that tiny free web remote server dailynrdscan.alwaysdata.net

Would you prefer to have a daily zip at the root of https://dailynrdscan.alwaysdata.net/zones/ containing the "zones" folder, for you to be able to download the content ?

Anyway I am planning to publish the (ugly) bash script I am using to perform the daily scans: you could also reuse it on your side.

Cheers!

@atenreiro
Copy link
Owner

Ok, I will continue downloading from the GitHub but for now.

Do you manage the hosting server https://dailynrdscan.alwaysdata.net ?

@maaaaz
Copy link
Contributor Author

maaaaz commented Jul 12, 2023

No, it is the free plan of https://www.alwaysdata.com/en/ where as a user, you just have an SSH access to a shared VPS, without root permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants