mirror of
https://github.com/daeuniverse/dae.git
synced 2025-03-09 20:30:08 +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
|
||||
}
|
||||
return nil, fmt.Errorf("unknown type error")
|
||||
// MUST No record.
|
||||
return nil, nil
|
||||
}
|
||||
default:
|
||||
return nil, fmt.Errorf("only support to lookup A/AAAA record")
|
||||
|
Loading…
Reference in New Issue
Block a user