Skip to content

This script performs DNS lookups on a specified domain and its subdomains, distinguishing between aliases and direct addresses. It supports default subdomains, custom subdomains from a file, or a single subdomain input.

License

Notifications You must be signed in to change notification settings

DavitTec/dns-check

Repository files navigation

README

Summary: [Basic project short summary goes here]

dns-check.sh

Our simple Bash Script to check DNS names −

#!/bin/bash 
for name in $(cat $1);
   do 
      host $name.$2 | grep "has address" 
   done 
exit

small wordlist to test DNS resolution on −

dns 
www 
test 
dev 
mail 
rdp 
remote
./dns-check.sh dns-names.txt google.com

About

This script performs DNS lookups on a specified domain and its subdomains, distinguishing between aliases and direct addresses. It supports default subdomains, custom subdomains from a file, or a single subdomain input.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages