Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit 823a778

Browse files
author
icymind
committed
add google public DNS server to blacklist
1 parent 1a9dc19 commit 823a778

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/renderer/lib/generator.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@ class Generator {
320320
contents = contents.concat(subs)
321321
}
322322

323+
// add google DNS to black list
324+
contents.push(`add ${firewallInfo.ipset.blackSetName} 8.8.8.8`)
325+
contents.push(`add ${firewallInfo.ipset.blackSetName} 8.8.4.4`)
326+
323327
await fs.outputFile(tempFPath, contents.join('\n'), 'utf8')
324328
return tempFPath
325329
}

0 commit comments

Comments
 (0)