Skip to content

AFRINIC/lamecheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lamecheck

Some code snippets to check lameness of a zone.

Usage:

sh zone-lame-check.sh <domain> <nameserver>

Multiple Zones:

Run loop-zones.sh to extra NS records from a zonelet files and run the check on each on.

Zone files to parse for NS seeding must be placed into the zones/ folder first.

Output Details:

CASE_0: all good not lame
CASE_1: server not reachable, nameserver cannot be resolved, port 53 closed etc
CASE_3: nameserver reachable but not responsive or not serving zone
CASE_4: nameserver not authoritative

RECURSIVE tag: a nameserver is tagged as recursive if the flag "ra" is found. Authoritative nameservers should normally not be open recursive server as they can be vulnerable to DDoS.

A zone is considered lame is one of the above conditions are met. The dnscheck script is a simple bash script which uses dig and parses the output.

About

Code snippets to check lameness of a zone

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published