{"action":"created","issue":{"url":"https://api.github.com/repos/holmium/dnsforwarder/issues/49","labels_url":"https://api.github.com/repos/holmium/dnsforwarder/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/holmium/dnsforwarder/issues/49/comments","events_url":"https://api.github.com/repos/holmium/dnsforwarder/issues/49/events","html_url":"https://github.com/holmium/dnsforwarder/issues/49","id":50448253,"number":49,"title":"对于cname的源域可以指定hosts吗？","user":{"login":"spance","id":3322424,"avatar_url":"https://avatars.githubusercontent.com/u/3322424?v=3","gravatar_id":"","url":"https://api.github.com/users/spance","html_url":"https://github.com/spance","followers_url":"https://api.github.com/users/spance/followers","following_url":"https://api.github.com/users/spance/following{/other_user}","gists_url":"https://api.github.com/users/spance/gists{/gist_id}","starred_url":"https://api.github.com/users/spance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spance/subscriptions","organizations_url":"https://api.github.com/users/spance/orgs","repos_url":"https://api.github.com/users/spance/repos","events_url":"https://api.github.com/users/spance/events{/privacy}","received_events_url":"https://api.github.com/users/spance/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-30T06:01:57Z","updated_at":"2015-01-03T01:27:26Z","closed_at":null,"body":"比如说w.AAA.com 用cname到 x.BBB.net上，dns返回的记录中好像是有x.BBB.net的源域，在这一步查询x.BBB.net有hosts匹配就替换掉返回呢？\r\n\r\n其实简单说就是有很多的域名别名到了*.edgecastcdn.net ghs.google.com等等，别名后的新域名就会无数多，很难做完整的hosts，所以就想看源域有匹配就替换掉。\r\n我对dns协议报文不了解，不知道这个想法合适否。"},"comment":{"url":"https://api.github.com/repos/holmium/dnsforwarder/issues/comments/68578292","html_url":"https://github.com/holmium/dnsforwarder/issues/49#issuecomment-68578292","issue_url":"https://api.github.com/repos/holmium/dnsforwarder/issues/49","id":68578292,"user":{"login":"spance","id":3322424,"avatar_url":"https://avatars.githubusercontent.com/u/3322424?v=3","gravatar_id":"","url":"https://api.github.com/users/spance","html_url":"https://github.com/spance","followers_url":"https://api.github.com/users/spance/followers","following_url":"https://api.github.com/users/spance/following{/other_user}","gists_url":"https://api.github.com/users/spance/gists{/gist_id}","starred_url":"https://api.github.com/users/spance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spance/subscriptions","organizations_url":"https://api.github.com/users/spance/orgs","repos_url":"https://api.github.com/users/spance/repos","events_url":"https://api.github.com/users/spance/events{/privacy}","received_events_url":"https://api.github.com/users/spance/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T01:27:26Z","updated_at":"2015-01-03T01:27:26Z","body":"多谢。顺祝元旦狠狠的快乐。"}}