Skip to content

Commit

Permalink
Merge pull request #44 from seeyarh/ipv6-support
Browse files Browse the repository at this point in the history
Ipv6 support
  • Loading branch information
ehsandeep committed Feb 15, 2022
2 parents 97378f2 + ec99f87 commit 7d6934d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Expand Up @@ -97,7 +97,7 @@ func (c *Client) ResolveWithSyscall(host string) (*DNSData, error) {
// Resolve is the underlying resolve function that actually resolves a host
// and gets the ip records for that host.
func (c *Client) Resolve(host string) (*DNSData, error) {
return c.Query(host, dns.TypeA)
return c.QueryMultiple(host, []uint16{dns.TypeA, dns.TypeAAAA})
}

// Do sends a provided dns request and return the raw native response
Expand Down

0 comments on commit 7d6934d

Please sign in to comment.