diff --git a/core/net/dns.odin b/core/net/dns.odin index a0223e6ee..6afa844fe 100644 --- a/core/net/dns.odin +++ b/core/net/dns.odin @@ -392,6 +392,10 @@ load_resolv_conf :: proc(resolv_conf_path: string, allocator := context.allocato } addr := parse_address(server_ip_str) + if addr == nil { + continue + } + endpoint := Endpoint{ addr, 53,