mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-23 03:34:14 +00:00
Refine DNS Options
This commit is contained in:
parent
f20c445974
commit
217844cc37
10 changed files with 82 additions and 55 deletions
|
@ -39,7 +39,7 @@ func (*Client) LookupIP(host string) ([]net.IP, error) {
|
|||
}
|
||||
|
||||
// LookupOptions implements Client.
|
||||
func (c *Client) LookupOptions(host string, _ dns.IPOption) ([]net.IP, error) {
|
||||
func (c *Client) LookupOptions(host string, _ ...dns.Option) ([]net.IP, error) {
|
||||
return c.LookupIP(host)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue