# Direct
// 本地/局域网地址
HOST-SUFFIX,ip6-localhost,DIRECT
HOST-SUFFIX,ip6-loopback,DIRECT
HOST-SUFFIX,local,DIRECT
HOST-SUFFIX,localhost,DIRECT
IP-CIDR,10.0.0.0/8,DIRECT
IP-CIDR,100.64.0.0/10,DIRECT
IP-CIDR,127.0.0.0/8,DIRECT
IP-CIDR,172.16.0.0/12,DIRECT
IP-CIDR,192.168.0.0/16,DIRECT
IP6-CIDR,::1/128,DIRECT
IP6-CIDR,fc00::/7,DIRECT
IP6-CIDR,fe80::/10,DIRECT
IP6-CIDR,fd00::/8,DIRECT

//Apple
HOST-SUFFIX,apple.com,DIRECT
HOST-SUFFIX,crashlytics.com,DIRECT
HOST-SUFFIX,icloud.com,DIRECT
HOST-SUFFIX,itunes.com,DIRECT
HOST-SUFFIX,push-apple.com.akadns.net,DIRECT
HOST-SUFFIX,aaplimg.com,DIRECT
HOST-SUFFIX,me.com,DIRECT
HOST-SUFFIX,mzstatic.com,DIRECT
USER-AGENT,%E5%9C%B0%E5%9B%BE*,DIRECT
USER-AGENT,%E8%AE%BE%E7%BD%AE*,DIRECT
USER-AGENT,*com.apple.mobileme.fmip1,DIRECT
USER-AGENT,*WeatherFoundation*,DIRECT
USER-AGENT,AssistantServices*,DIRECT
USER-AGENT,MobileAsset*,DIRECT
USER-AGENT,Siri*,DIRECT
USER-AGENT,cloudd*,DIRECT
USER-AGENT,com.apple.appstored*,DIRECT
USER-AGENT,com.apple.geod*,DIRECT
USER-AGENT,com.apple.Maps,DIRECT
USER-AGENT,FindMyFriends*,DIRECT
USER-AGENT,FindMyiPhone*,DIRECT
USER-AGENT,FMDClient*,DIRECT
USER-AGENT,FMFD*,DIRECT
USER-AGENT,fmflocatord*,DIRECT
USER-AGENT,geod*,DIRECT
USER-AGENT,locationd*,DIRECT
USER-AGENT,Maps*,DIRECT
USER-AGENT,*Passbook*,DIRECT
USER-AGENT,passd*,DIRECT
USER-AGENT,seld*,DIRECT
USER-AGENT,trustd*,DIRECT
USER-AGENT,Wallet*,DIRECT
USER-AGENT,AssistantServices*,DIRECT
USER-AGENT,MobileAsset*,DIRECT
USER-AGENT,Siri*,DIRECT
HOST-SUFFIX,api.smoot.apple.com.cn,DIRECT
HOST-SUFFIX,captive.apple.com,DIRECT
HOST-SUFFIX,cn-smp-paymentservices.apple.com,DIRECT
HOST-SUFFIX,smp-device.apple.com,DIRECT
HOST-SUFFIX,smp-device-content.apple.com,DIRECT
HOST-SUFFIX,sp.itunes.apple.com,DIRECT
HOST-SUFFIX,ess.apple.com,DIRECT
HOST-SUFFIX,push.apple.com,DIRECT
HOST-SUFFIX,gs-loc.apple.com,DIRECT
HOST-SUFFIX,ls.apple.com,DIRECT

HOST-SUFFIX,softpedia.com,DIRECT
HOST-SUFFIX,mtalk.google.com,DIRECT

# Telegram Proxy
HOST-SUFFIX,t.me,PROXY
HOST-SUFFIX,tdesktop.com,PROXY
HOST-SUFFIX,telegra.ph,PROXY
HOST-SUFFIX,telegram.me,PROXY
HOST-SUFFIX,telegram.org,PROXY
IP-CIDR,91.108.56.0/22,PROXY
IP-CIDR,91.108.4.0/22,PROXY
IP-CIDR,91.108.8.0/22,PROXY
IP-CIDR,91.108.16.0/22,PROXY
IP-CIDR,91.108.12.0/22,PROXY
IP-CIDR,149.154.160.0/20,PROXY
IP-CIDR,91.105.192.0/23,PROXY
IP-CIDR,91.108.20.0/22,PROXY
IP-CIDR,185.76.151.0/24,PROXY

HOST-SUFFIX,ampproject.org,PROXY
HOST-SUFFIX,ampproject.net,PROXY
HOST-SUFFIX,analytics.twitter.com,PROXY
HOST-SUFFIX,g.whatsapp.net,PROXY
HOST-SUFFIX,us-west-2.amazonaws.com,PROXY

# Ads
//google
HOST-SUFFIX,ads.fmdisk.com,REJECT
HOST-SUFFIX,ads.feemoo.com,REJECT
HOST-SUFFIX,googleads.g.doubleclick.net,REJECT
HOST-KEYWORD,googleads,REJECT
HOST-SUFFIX,ads.google.com,REJECT
HOST-SUFFIX,afd.l.google.com,REJECT
HOST-SUFFIX,doubleclick.com,REJECT
HOST-SUFFIX,doubleclick.net,REJECT
HOST-SUFFIX,google-analytics.com,REJECT
HOST-SUFFIX,googlesyndication.com,REJECT
HOST-SUFFIX,googletagmanager.com,REJECT
HOST-SUFFIX,googletakes.com,REJECT
HOST-SUFFIX,mobileads.google.com,REJECT
HOST-KEYWORD,pagead,REJECT

//others
HOST-SUFFIX,g1.tagtic.cn,REJECT 	 	
HOST-SUFFIX,log.tagtic.cn,REJECT 	
HOST-SUFFIX,pgdt.ugdtimg.com,REJECT 	
HOST-SUFFIX,sdownload.stargame.com,REJECT
HOST-SUFFIX,xcz.im,REJECT 	
HOST-KEYWORD,umeng,REJECT
HOST-KEYWORD,adnyg,REJECT
HOST-KEYWORD,admarvel,REJECT
HOST-KEYWORD,admaster,REJECT
HOST-KEYWORD,adsage,REJECT
HOST-KEYWORD,adsmogo,REJECT
HOST-KEYWORD,adsrvmedia,REJECT
HOST-KEYWORD,adwords,REJECT
HOST-KEYWORD,adservice,REJECT
HOST-KEYWORD,adsserving,REJECT
HOST-KEYWORD,analysis,REJECT
HOST-KEYWORD,analytics,REJECT
HOST-KEYWORD,applovin,REJECT
HOST-KEYWORD,domob,REJECT
HOST-KEYWORD,duomeng,REJECT
HOST-KEYWORD,dwtrack,REJECT
HOST-KEYWORD,guanggao,REJECT
HOST-KEYWORD,lianmeng,REJECT
HOST-KEYWORD,monitor,REJECT
HOST-KEYWORD,omgmta,REJECT
HOST-KEYWORD,openx,REJECT
HOST-KEYWORD,partnerad,REJECT
HOST-KEYWORD,pingfore,REJECT
HOST-KEYWORD,socdm,REJECT
HOST-KEYWORD,supersonicads,REJECT
HOST-KEYWORD,tracking,REJECT
HOST-KEYWORD,uedas,REJECT
HOST-KEYWORD,usage,REJECT
HOST-KEYWORD,wlmonitor,REJECT
HOST-KEYWORD,zjtoolbar,REJECT
HOST-KEYWORD,adsrvr,REJECT
HOST-SUFFIX,sdkapp.uve.weibo.com,REJECT
HOST-SUFFIX,wwads.cn,REJECT
HOST-SUFFIX,gzads.com,REJECT
HOST-SUFFIX,gozendata.com,REJECT
HOST-SUFFIX,gz-data.com,REJECT

//user agent rules
USER-AGENT,telegram,PROXY
USER-AGENT,wechat,DIRECT
USER-AGENT,micromessenger,DIRECT
USER-AGENT,QQ*,DIRECT
USER-AGENT,TIM*,DIRECT
USER-AGENT,%E7%BD%91%E6%98%93,DIRECT
USER-AGENT,netease,DIRECT

# 抗 DNS 污染
//Google
HOST-SUFFIX,fonts.googleapis.com,DIRECT
HOST-SUFFIX,fonts.gstatic.com,DIRECT
HOST-SUFFIX,goo.gl,Proxy
HOST-SUFFIX,gvt1.com,Proxy
HOST-SUFFIX,youtu.be,Proxy
HOST-SUFFIX,ytimg.com,Proxy
HOST-SUFFIX,ggpht.com,Proxy
HOST-KEYWORD,gmail,Proxy
HOST-KEYWORD,google,Proxy
HOST-KEYWORD,gstatic,Proxy
HOST-KEYWORD,youtube,Proxy

HOST-KEYWORD,appledaily,Proxy
HOST-KEYWORD,github,Proxy
HOST-KEYWORD,instagram,Proxy
HOST-KEYWORD,twitter,Proxy
HOST-KEYWORD,twimg,Proxy
HOST-KEYWORD,telegram,Proxy
HOST-SUFFIX,humblebundle.com,PROXY
HOST-KEYWORD,steam,Proxy
HOST-KEYWORD,googleapis.cn,Proxy
HOST-KEYWORD,v2ex,Proxy

GEOIP,CN,DIRECT
FINAL,PROXY