diff options
Diffstat (limited to '')
| -rwxr-xr-x | apt-panopticon-report-DNS.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apt-panopticon-report-DNS.lua b/apt-panopticon-report-DNS.lua index 178659b..c571c3d 100755 --- a/apt-panopticon-report-DNS.lua +++ b/apt-panopticon-report-DNS.lua | |||
| @@ -135,16 +135,16 @@ for k, v in pairs(mirrors) do | |||
| 135 | mirrors[k].BaseURL = nil | 135 | mirrors[k].BaseURL = nil |
| 136 | mirrors[k].Country = nil | 136 | mirrors[k].Country = nil |
| 137 | mirrors[k].Bandwidth = nil | 137 | mirrors[k].Bandwidth = nil |
| 138 | m["\n" .. k .. " DNS entries"] = mirrors[k].IPs | 138 | m["\n" .. k .. " DNS entries -"] = mirrors[k].IPs |
| 139 | end | 139 | end |
| 140 | 140 | ||
| 141 | 141 | ||
| 142 | local file, e = io.open("results/Report-DNS.txt", "w+") | 142 | local file, e = io.open("results/Report-DNS.txt", "w+") |
| 143 | if nil == file then C("opening mirrors file - " .. e) else | 143 | if nil == file then C("opening mirrors file - " .. e) else |
| 144 | file:write("This DNS report lists each mirror, and the DNS entries for that mirror. \n" .. | 144 | file:write("This DNS report lists each mirror, and the DNS entries for that \nmirror. " .. |
| 145 | "If a mirror has a CNAME, that CNAME is listed along with that CNAMEs DNS entries.\n" .. | 145 | "If a mirror has a CNAME, that CNAME is listed along with that \nCNAMEs DNS entries. " .. |
| 146 | "deb.devuan.org is the DNS round robin, which points to the mirrors that are part of the DNS-RR.\n" .. | 146 | "deb.devuan.org is the DNS round robin, which points \nto the mirrors that are part of the DNS-RR. " .. |
| 147 | "pkgmaster.devuan.org is the master mirror, all the others sync to it.\n") | 147 | "pkgmaster.devuan.org is the \nmaster mirror, all the others sync to it. ") |
| 148 | file:write(dumpTable(m, "", "")) | 148 | file:write(dumpTable(m, "", "")) |
| 149 | file:close() | 149 | file:close() |
| 150 | end | 150 | end |
