Make powerdns better
This commit is contained in:
parent
955e395f09
commit
20dad3dca8
|
@ -1,6 +1,6 @@
|
||||||
# PowerdNS fingerprints
|
# PowerdNS fingerprints
|
||||||
# Tested on server <11122>
|
# Tested on server <11122>
|
||||||
# CHECK THIS, only the first is correct
|
# 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
|
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
|
bind.,NONE,SOA,NOTIFY,REFUSED,QR,aa,tc,RD,ra,ad,cd,z,1,0,0,0,do,0,nsid
|
||||||
|
|
|
@ -57,7 +57,7 @@ func main() {
|
||||||
|
|
||||||
// For now, just list them:
|
// For now, just list them:
|
||||||
files := []string{"Atlas", "Bind8", "Bind9", "MaraDNS", "Microsoft", "Nsd3", "PowerDNS"}
|
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 {
|
for _, file := range files {
|
||||||
diff := 0
|
diff := 0
|
||||||
prints, _ := fingerPrintFromFile("data/" + file)
|
prints, _ := fingerPrintFromFile("data/" + file)
|
||||||
|
|
Loading…
Reference in New Issue