LosingFeel (@x041eak) 在 dns解析后,如何过滤bad ip 中发帖

域名dns解析后,会有好几个ip,但是不是每个ip的https/http服务都能连接,怎么过滤掉坏的ip呢