-s 114.114.114.114,127.0.0.1:5353 指定的upstream dns server智能区分国内外问题

This issue has been created since 2017-01-21.

chinadns 对于-s 后面的dns server会判断国内外地址。那么对于127.0.0.1 是否当成国内地址?
其实这里我期望的是用127.0.0.1:5353 来拿国外IP地址解析结果的。
所以-s 后面的国内国外是否分开两个参数更加明显指定?

yellowvii wrote this answer on 2017-01-22

记得是不属于 china_router 文件中的网段都被标记为国外,所以 127 也被视为国外地址

warking wrote this answer on 2017-01-23

OK,明白了,多谢指教
我翻看了代码, static int test_ip_in_list(struct in_addr ip, const net_list_t *netlist);
所以这里算是有个implicit的指定国内外的办法

More Details About Repo
Owner Name shadowsocks
Repo Name ChinaDNS
Full Name shadowsocks/ChinaDNS
Language C
Created Date 2014-07-24
Updated Date 2022-09-19
Star Count 3490
Watcher Count 250
Fork Count 1362
Issue Count 43

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
[MySpass] ERROR: 'NoneType' object has no attribute 'groups' 1 2022-01-26 2022-07-24
[TwitCastingLive] m3u8 playlist extraction failing for password protected archived streams 2 2022-02-15 2022-07-16
SYM file ignores multiple section headers 0 2022-07-11 2022-09-29
SPM Parser for BIDSProv 4 2021-02-02 2022-09-03
ethercalc.net down? 8 2021-03-28 2022-01-06
ethercalc.net down again? 1 2021-03-31 2022-09-19
Importer not inserting record into DB 3 2021-04-13 2022-09-25
Dependency Dashboard 0 2021-08-25 2022-08-21
shmem input crashes with segfault when connecting to squeezelite 25 2021-11-21 2022-09-03
refresh arg for glob is gone in 0.3 7 2019-07-26 2022-09-22
Understanding repeatable recommendation 3 2022-09-23 2022-09-29
SNS - Create & validate an email before CloudFormation Deploy 1 2022-05-20 2022-09-19
关于补全Golang的问题 3 2019-04-01 2022-01-22
semantic highlighting support? 0 2021-02-10 2022-09-22
[Feature]: Lua language docs include global `lvim` resolution 6 2021-12-13 2022-07-26
[Auto Generated]Plugin error occurred 1 2022-05-09 2022-08-18
[Auto Generated]Plugin error occurred: update failed for AnAction(cn.yiiguxing.plugin.translate.action.TranslateDocumentationAction, id=$Tr... 0 2022-05-12 2022-08-29
[Auto Generated]Plugin error occurred: Conflicting component name 'Settings': class org.jboss.tools.intellij.analytics.Settings and class c... 1 2022-05-10 2022-08-22
[Auto Generated]Plugin error occurred: Conflicting component name 'Settings': class org.jboss.tools.intellij.analytics.Settings and class c... 1 2022-05-09 2022-07-23
[Auto Generated]Plugin error occurred: org/apache/commons/dbcp2/BasicDataSource 1 2022-05-11 2022-06-05
[Auto Generated]Plugin error occurred: Can't get project from editor 1 2022-05-10 2022-08-20
[Auto Generated]Plugin error occurred: Assertion failed 1 2022-05-09 2022-08-06
[Auto Generated]Plugin error occurred: Key cn.yiiguxing.plugin.translate.Settings duplicated [Plugin: cn.yiiguxing.plugin.translate] 1 2022-05-10 2022-08-13
[Auto Generated]Plugin error occurred: Editor is already disposed 0 2022-05-12 2022-08-15
[Auto Generated]Plugin error occurred 1 2022-05-09 2022-08-17
Issue with NetworkPolicy creation and deletion causing SIGSEGV in ovn-kubernetes 2 2022-06-09 2022-08-14
Need first name +middle name + last name 2 2022-04-09 2022-07-22
[Salvo] Error message is not informative while failing to run commands in image 0 2022-01-20 2022-09-20
Cannot find module '@actions/core' 15 2021-12-13 2022-09-25
Support Distributed Data Parallel Implementation of DETR 0 2021-12-19 2022-09-22
ol-ext Legend subTitle Display 4 2022-07-26 2022-09-17
Search in input box should also match against tags (not just the label) 0 2022-08-31 2022-09-27
Need to build a dashboard for aws resource usage, need a graph data type visualization 3 2022-08-30 2022-09-27
I have problems with language 1 2022-07-23 2022-09-20
Monolog context as extra data to sentry 1 2021-09-13 2022-09-21
Unable to set keyvault secret 0 2021-10-13 2022-09-12
Crash report from Dynamo 2.6.2.15705 1 2022-06-04 2022-09-24
Disable auto scroll after placeholder 2 2020-04-13 2022-09-18
Feature Request - Please add the ability to select Comment = System 3 2020-11-30 2022-09-21
curl can't download Go(lang) tarball 1 2022-02-27 2022-09-06
cmd/compile: hang in `ssa.(*regAllocState).computeLive` when optimizations are disabled 9 2022-04-06 2022-09-11
Reformat failed with correct images 1 2022-05-24 2022-09-22
how to start visualising from user given timestamp 1 2020-03-27 2022-09-27
Discuss: general case for Async calls into Rust. 7 2021-09-09 2022-08-17
Parsing of json dumped booleans 0 2021-04-14 2022-09-18
"Not enough arguments for format string" when calling TINY-HELPER... 2 2022-08-01 2022-09-13
how to use optimization tools? 0 2021-03-31 2022-09-18
🧐[问题 | question] EditableProTable onsave触发内存泄漏 Can't perform a React state update on an unmounted component. 0 2022-08-19 2022-09-17
Should include an example other than a 404. I'm stuck on how to do this. 3 2021-11-04 2022-09-18
Set Default Page not working 5 2022-08-19 2022-09-19