{"action":"created","issue":{"url":"https://api.github.com/repos/chengr28/Pcap_DNSProxy/issues/95","labels_url":"https://api.github.com/repos/chengr28/Pcap_DNSProxy/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/chengr28/Pcap_DNSProxy/issues/95/comments","events_url":"https://api.github.com/repos/chengr28/Pcap_DNSProxy/issues/95/events","html_url":"https://github.com/chengr28/Pcap_DNSProxy/issues/95","id":114309546,"number":95,"title":"安装在OpenWrt上，解析时间很长，大概要2-4秒，很少有感觉不到有解析过程就解析完的域名。","user":{"login":"cielpy","id":3138493,"avatar_url":"https://avatars.githubusercontent.com/u/3138493?v=3","gravatar_id":"","url":"https://api.github.com/users/cielpy","html_url":"https://github.com/cielpy","followers_url":"https://api.github.com/users/cielpy/followers","following_url":"https://api.github.com/users/cielpy/following{/other_user}","gists_url":"https://api.github.com/users/cielpy/gists{/gist_id}","starred_url":"https://api.github.com/users/cielpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cielpy/subscriptions","organizations_url":"https://api.github.com/users/cielpy/orgs","repos_url":"https://api.github.com/users/cielpy/repos","events_url":"https://api.github.com/users/cielpy/events{/privacy}","received_events_url":"https://api.github.com/users/cielpy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T16:47:58Z","updated_at":"2015-10-30T23:54:28Z","closed_at":"2015-10-30T23:54:28Z","body":"比如，先flush，然后打开QQ空间的时候，就将近3秒钟。这个时间太长了吧。。\r\n打开了\r\nLocal Main = 1\r\nLocal Routing = 1\r\n\r\n本地部署的不会这么长时间。\r\n![image](https://cloud.githubusercontent.com/assets/3138493/10851566/c6db95e6-7f66-11e5-8700-ee5b57904dbe.png)"},"comment":{"url":"https://api.github.com/repos/chengr28/Pcap_DNSProxy/issues/comments/152675678","html_url":"https://github.com/chengr28/Pcap_DNSProxy/issues/95#issuecomment-152675678","issue_url":"https://api.github.com/repos/chengr28/Pcap_DNSProxy/issues/95","id":152675678,"user":{"login":"wongsyrone","id":5462232,"avatar_url":"https://avatars.githubusercontent.com/u/5462232?v=3","gravatar_id":"","url":"https://api.github.com/users/wongsyrone","html_url":"https://github.com/wongsyrone","followers_url":"https://api.github.com/users/wongsyrone/followers","following_url":"https://api.github.com/users/wongsyrone/following{/other_user}","gists_url":"https://api.github.com/users/wongsyrone/gists{/gist_id}","starred_url":"https://api.github.com/users/wongsyrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wongsyrone/subscriptions","organizations_url":"https://api.github.com/users/wongsyrone/orgs","repos_url":"https://api.github.com/users/wongsyrone/repos","events_url":"https://api.github.com/users/wongsyrone/events{/privacy}","received_events_url":"https://api.github.com/users/wongsyrone/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T23:54:28Z","updated_at":"2015-10-30T23:54:28Z","body":"在我这并没有问题，直接dig的是走dnsmasq，设置它的上游DNS只有127.0.0.1#1053\r\n\r\n```\r\nroot@OpenWrt:~# dig ptlogin2.qq.com\r\n\r\n; <<>> DiG 9.9.7-P3 <<>> ptlogin2.qq.com\r\n;; global options: +cmd\r\n;; Got answer:\r\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27877\r\n;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1\r\n\r\n;; OPT PSEUDOSECTION:\r\n; EDNS: version: 0, flags:; udp: 4096\r\n;; QUESTION SECTION:\r\n;ptlogin2.qq.com.               IN      A\r\n\r\n;; ANSWER SECTION:\r\nptlogin2.qq.com.        30      IN      A       123.151.152.48\r\nptlogin2.qq.com.        30      IN      A       123.151.10.167\r\n\r\n;; Query time: 36 msec\r\n;; SERVER: 127.0.0.1#53(127.0.0.1)\r\n;; WHEN: Sat Oct 31 07:51:52 CST 2015\r\n;; MSG SIZE  rcvd: 76\r\n\r\nroot@OpenWrt:~# dig ptlogin2.qq.com @127.0.0.1 -p 1053\r\n\r\n; <<>> DiG 9.9.7-P3 <<>> ptlogin2.qq.com @127.0.0.1 -p 1053\r\n;; global options: +cmd\r\n;; Got answer:\r\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53430\r\n;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1\r\n\r\n;; OPT PSEUDOSECTION:\r\n; EDNS: version: 0, flags:; udp: 4096\r\n;; QUESTION SECTION:\r\n;PtLoGiN2.qQ.CoM.               IN      A\r\n\r\n;; ANSWER SECTION:\r\nPtLoGiN2.qQ.CoM.        258     IN      A       123.151.152.48\r\nPtLoGiN2.qQ.CoM.        258     IN      A       123.151.10.167\r\n\r\n;; Query time: 130 msec\r\n;; SERVER: 127.0.0.1#1053(127.0.0.1)\r\n;; WHEN: Sat Oct 31 07:52:33 CST 2015\r\n;; MSG SIZE  rcvd: 76\r\n```"}}