Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fancyss/ss/ssconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2697,15 +2697,15 @@ start_chinadns_ng(){

# for hosts file
cp -rf /tmp/etc/hosts /tmp/etc/chng_hosts
sed -i 's/\.[[:space:]]/ /g' /etc/chng_hosts
sed -i -e 's/\.[[:space:]]/ /g' -e 's/\.$//' /tmp/etc/chng_hosts

cat >>"/tmp/chinadns_ng.conf" <<-EOF

# 过滤dns
filter-qtype 64,65

# hosts
hosts /etc/chng_hosts
hosts /tmp/etc/chng_hosts

# dns 缓存
cache 8192
Expand Down