fqdns icon indicating copy to clipboard operation
fqdns copied to clipboard

osx下执行,发现几个bug

Open ohyeah521 opened this issue 11 years ago • 1 comments

启动参数:./fqdns.py serve

def query_smartly(self, domain): first_china_upstream = self.china_upstreams[0] # 这里self.china_upstreams为空,所以程序报异常。

ohyeah521 avatar Jun 05 '14 01:06 ohyeah521

同样的问题 2014-08-29 17:50:02,570 ERROR failed to query DNS(qd=[Q(name='www.baidu.com')], id=20177) due to list index out of range Traceback (most recent call last): File "/Users/zhucong/Documents/Github/fqdns/fqdns.py", line 192, in call response = self.query(request, raw_request) File "/Users/zhucong/Documents/Github/fqdns/fqdns.py", line 222, in query answers = self.query_smartly(domain) File "/Users/zhucong/Documents/Github/fqdns/fqdns.py", line 249, in query_smartly first_china_upstream = self.china_upstreams[0] IndexError: list index out of range

congzhu avatar Aug 29 '14 09:08 congzhu