mirror of
https://github.com/daeuniverse/dae.git
synced 2025-03-10 04:47:25 +07:00
fix: init dns upstream error
This commit is contained in:
parent
bbc5b77020
commit
9224d96521
@ -143,7 +143,8 @@ func resolve(ctx context.Context, d netproxy.Dialer, dns netip.AddrPort, host st
|
|||||||
},
|
},
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
return nil, fmt.Errorf("unknown type error")
|
// MUST No record.
|
||||||
|
return nil, nil
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("only support to lookup A/AAAA record")
|
return nil, fmt.Errorf("only support to lookup A/AAAA record")
|
||||||
|
Loading…
Reference in New Issue
Block a user