I need to make a DNS query to one of my clients using IPv6 to resolve the IPv4 address for the machine, how would I go about doing that. I know i can just use the hostname to resolve both IPv4 & IPv6 for the machine, but the assignment is to use the IPv6 address to resolve the IPv4 adress for one of the clients of the network.
The client is a Windows 7 machine and the DNS-server is Debian Using Bind9.
I tried adding the IPv4 address to the PTR record of the IPv6 address, but that resulted in only getting either the IPv4 address or the hostname of the client when doing nslookup (half of the time it would show the hostname, half of the time it would show the Ipv4 address).
What I am essentially looking to do is that when I write (nslookup 2001:db8:acad:1::10), the DNS-Server should respond with both the hostname & the Ipv4 address.