Skip to content

Commit 2b50174

Browse files
committed
change dns
Signed-off-by: Love4Taylor <[email protected]>
1 parent a7c2d49 commit 2b50174

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/scala/com/github/shadowsocks/database/DBHelper.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class DBHelper(val context: Context)
138138
}
139139

140140
if (oldVersion < 20) {
141-
profileDao.executeRawNoArgs("ALTER TABLE `profile` ADD COLUMN china_dns VARCHAR DEFAULT '114.114.114.114:53,223.5.5.5:53';")
141+
profileDao.executeRawNoArgs("ALTER TABLE `profile` ADD COLUMN china_dns VARCHAR DEFAULT '119.29.29.29:53,1.2.4.8:53';")
142142
}
143143

144144
if (oldVersion < 21) {

src/main/scala/com/github/shadowsocks/database/Profile.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ class Profile {
9595
var url_group: String = ""
9696

9797
@DatabaseField
98-
var dns: String = "208.67.222.222:53"
98+
var dns: String = "8.8.8.8:53"
9999

100100
@DatabaseField
101-
var china_dns: String = "114.114.114.114:53,223.5.5.5:53"
101+
var china_dns: String = "119.29.29.29:53,1.2.4.8:53"
102102

103103
@DatabaseField
104104
var ipv6: Boolean = false

0 commit comments

Comments
 (0)