resolv: try load dns server from default resolv.conf

This commit is contained in:
Nick Peng
2023-05-05 22:51:39 +08:00
parent 5500fe2592
commit ccadadd3fb
3 changed files with 23 additions and 5 deletions

View File

@@ -31,7 +31,6 @@
#include <unistd.h>
#define DNS_MAX_REPLY_IP_NUM 8
#define DNS_RESOLV_FILE "/etc/resolv.conf"
/* ipset */
struct dns_ipset_table {