Make powerdns better

This commit is contained in:
Miek Gieben 2012-01-28 15:04:35 +01:00
parent 955e395f09
commit 20dad3dca8
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# PowerdNS fingerprints
# Tested on server <11122>
# CHECK THIS, only the first is correct
.,CH,TXT,QUERY,NOERROR,QR,aa,tc,RD,ra,ad,cd,z,1,0,0,1,do,2800,nsid
.,CH,TXT,QUERY,NOERROR,QR,AA,tc,RD,ra,ad,cd,z,1,0,0,1,DO,2800,NSID
auThoRs.bInD.,CH,TXT,QUERY,NOERROR,QR,AA,tc,rd,ra,ad,cd,z,1,15,1,0,do,0,nsid
bind.,NONE,SOA,NOTIFY,REFUSED,QR,aa,tc,RD,ra,ad,cd,z,1,0,0,0,do,0,nsid

View File

@ -57,7 +57,7 @@ func main() {
// For now, just list them:
files := []string{"Atlas", "Bind8", "Bind9", "MaraDNS", "Microsoft", "Nsd3", "PowerDNS"}
fmt.Printf("%s\t%s\t%s\t\t\t\t\t\t\t\t%s\n", "Server type", "Diffs", "Received", "Sent")
fmt.Printf("%s\t%s\t%s\t\t\t\t\t\t\t\t%s\n", "Server type", "Diffs", "Fingerprint", "Recevied")
for _, file := range files {
diff := 0
prints, _ := fingerPrintFromFile("data/" + file)