一、一步到位操作

wget https://raw.nameless13.com/api/public/dl/7Kcr9Jkt/smartdns.1.2020.09.08-2235.x86_64-debian-all.deb && dpkg -i smartdns*.deb &&
wget https://raw.nameless13.com/api/public/dl/q2JhY9t6/smartdns.conf &&
mv -f smartdns.conf /etc/smartdns/ &&
apt-get -y install resolvconf &&
echo "nameserver 127.0.0.1" >>/etc/resolvconf/resolv.conf.d/head &&
/etc/init.d/resolvconf restart &&
systemctl restart smartdns &&
systemctl enable smartdns 
最后修改:2021 年 01 月 20 日 09 : 36 AM