Releases · pymumu/smartdns · GitHub
, X4 ~% D* m( X9 JSmartDNS is a local DNS server. SmartDNS accepts DNS query requests from local clients, obtains DNS query results from multiple upstream DNS servers, and returns the fastest access results to clients. Avoiding DNS pollution and improving network access speed, supports high-performance ad filtering. Unlike dnsmasq’s all-servers, smartdns returns the fastest access resolution.
( H7 x. b4 ~/ j6 y
https://github.com/pymumu/smartdns/releases/download/Release36.1/smartdns.1.2022.04.05-2046.x86_64-linux-all.tar.gz 安装 下载配套安装包,并上传到 Linux 系统中。 标准 Linux 系统(X86 / X86_64)请执行如下命令安装: $ tar zxf smartdns.1.2022.04.05-2046.x86_64-linux-all.tar.gz$ cd smartdns$ chmod +x ./install$ ./install -ihtopsystemctl stop smartdnswinscp hostname
2 l; \4 A4 e0 @- V* c$ \; O8 _7 v( J% m9 a7 P- c" @
2 s8 z8 D( N7 c* h: @5 e, m2 f% w) R) D! K' m
' u& `+ F5 A) z
; x" H. h; r) b. S- {( l- v# |9 z7 o/ V+ i# B
3 z# t2 b5 }, [8 P0 X& g% p' U0 l5 U' ~
% C8 Y- R* x2 s
Install smartdns Using aptUpdate apt database with apt using the following command. sudo apt updateCopy4 |& H- Q7 h% c# s6 p: W
( O1 }6 s1 S1 h- v3 c: g2 {+ V- n O% M! ~7 m; y
* s7 e, D2 `6 M# M! B; d1 M( r" v! |
After updating apt database, We can install smartdns using apt by running the following command: sudo apt -y install smartdnsCopy
; J& P/ u- c" v% J2 h) o! w$ Z L8 W& f1 y! E- q! `
1 x# p2 p: d1 I& k) R) a( `
5 r4 B) R8 w7 @( g( V
Install smartdns Using aptitudeIf you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command. sudo aptitude updateCopy
* p9 o* d0 y8 s) b# v0 {/ V8 b3 l" b4 [, W- e! U& u
4 H! [9 v& s z6 Y. u% i
) d" U; }1 W0 h) {After updating apt database, We can install smartdns using aptitude by running the following command: sudo aptitude -y install smartdnsCopy( u/ Y2 J6 _$ t9 o l8 }
: h; Y E# L( U8 x) ?) e1 N( s. \, j7 j3 \6 ?8 I# w# \- g# r
" }; R( U" g5 IHow To Uninstall smartdns on Ubuntu 21.04To uninstall only the smartdns package we can use the following command: sudo apt-get remove smartdnsCopy
7 M2 d" U3 _/ R& [* Y4 y
$ a: U# D' Y8 k; B5 Q: s1 o' d( Y: f; @
2 Y9 ~0 V0 X" T7 `) v1 S
Uninstall smartdns And Its DependenciesTo uninstall smartdns and its dependencies that are no longer needed by Ubuntu 21.04, we can use the command below: sudo apt-get -y autoremove smartdnsCopy
( q* t+ Z/ g& l: A/ ^# o
+ V6 n6 T/ Z& z, p7 l. Q! w! ] U; c4 T6 g+ z8 e( |5 s
& @4 ?6 Y4 f) W& x+ \
Remove smartdns Configurations and DataTo remove smartdns configuration and data from Ubuntu 21.04 we can use the following command: sudo apt-get -y purge smartdnsCopy
+ V: k; A, C F$ O* F& @$ X% j
) v" ]# E- L9 C: ]9 k2 K% t! W a y& G2 m' k
& `( m! F6 i; p# j( N% {0 E$ {
Remove smartdns configuration, data, and all of its dependenciesWe can use the following command to remove smartdns configurations, data and all of its dependencies, we can use the following command: sudo apt-get -y autoremove --purge smartdnsCopy
4 I8 M* ~1 D! N7 z" ^* J5 o4 n; e6 G3 v. M4 d( [0 g' f* r
[& v" r, }( |! y) z. z
T6 Q4 l- @7 G$ s! x! |0 y( N5 c$ Z, jReferencesSummaryIn this tutorial we learn how to install smartdns using different package management tools like apt, apt-get and aptitude.
% y6 O5 L' E/ y2 t3 _, G2 A0 S/ I. j$ K: C, ]0 f% x+ w6 v
|