ChinaDNS icon indicating copy to clipboard operation
ChinaDNS copied to clipboard

feat:add two cmd line args: 1) -C specify chineseDNS IP; 2) -w specify sleep milliseconds for FOREIGN_DNS or TRUSTED_DNS

Open ncisoft opened this issue 4 years ago • 0 comments

In my enviroment, I have two local DNS servers deployed on Lan, 192.168.1.1 was from main router, 192.168.1.10 was built on pdnsd from trusted VPN. But I got two facts: 1) both two DNS servers was recognized as foreign dns by ChinaDNS; 2) 192.168.1.10 was resolved faster than 192.168.1.1.Tereby the result from ChinaDNS was incorrect.

With option -C, I can specify 192.168.1.1 as chineseDNS IP, instead of foreign DNS, of course you can use 114.114.114.114 or 223.5.5.5 anyway

With option -w, I can slow down the resolved speed from 192.168.1.10

I hope these changes could help imporoving the quality of ChinaDNS

Best Regards,

ncisoft avatar Jul 03 '20 10:07 ncisoft