This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
dns-sinkhole
mirror of
https://github.com/Fincer/dns-sinkhole
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Code: add note about pdnsd cache
master
Pekka Helenius
5 years ago
committed by
GitHub
parent
549bbba1e6
commit
6bf26c9b96
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
data/dns-sinkhole_gen.py
+ 1
- 1
data/dns-sinkhole_gen.py
View File
@ -54,7 +54,7 @@ pdnsd_tempfile = pdnsd_datafile + '.tmp'
pdnsd_fileheader
=
"
// Auto-generated list, build date
"
+
timestamp_long
+
"
\n
// No addresses of these domains must be resolved
"
+
"
\n
\n
"
pdnsd_outmessage
=
(
"
Move it to /etc/ folder and add the following configuration setting in /etc/pdnsd.conf:
\n
\n
"
+
\
"
//Blacklisted domains
\n
include { file =
\"
/etc/
"
+
pdnsd_datafile
+
"
\"
; }
\n
\n
--------------------
\n
Restart pdnsd by issuing command
'
systemctl restart pdnsd
'
\n
"
)
"
//Blacklisted domains
\n
include { file =
\"
/etc/
"
+
pdnsd_datafile
+
"
\"
; }
\n
\n
--------------------
\n
Restart pdnsd by issuing command
'
systemctl restart pdnsd
'
\n
\n
You may need to delete your pdnsd.cache file before the list rules apply.
\n
"
)
####################
Write
Preview
Loading…
Cancel
Save