IPv4 and IPv6 Support
Doggo provides support for both IPv4 and IPv6, allowing you to perform DNS queries over either protocol.
Default Behavior
By default, Doggo will query for A (IPv4) records only. This means it will return only IPv4 addresses when querying a domain without specifying a record type.
Querying for IPv6 (AAAA) Records
To query for IPv6 addresses, you need to explicitly request AAAA records:
Querying for Both IPv4 and IPv6
To get both IPv4 and IPv6 addresses, you can specify both A and AAAA record types:
Forcing IPv4 or IPv6
You can force Doggo to use only IPv4 or IPv6 with the -4
and -6
flags respectively: