2
1
I need to make a DNS query to one of my clients using IPv6 to resolve the IPv4 adress 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 adress, but that resulted in only getting either the IPv4 adress 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.
Well, I have a specific lab assignment regarding Ipv6 & DNS which requires me to do as follows: On your Windows client, make a DNS query to dnsserver01 using IPv6 for the IPv4 address of host “host01.ABC.xyz.gdf.se”. Unless I massively misunderstood the assignment that is exactly what I should do no? – NinjaAnte – 2015-12-01T17:01:34.260
1@NinjaAnte I think they mean you need to use IPv6 for the DNS query and ask for the IPv4 address of that host. – Sami Kuhmonen – 2015-12-01T17:09:57.120
How would I go about doing that? I feel like im missing something really obvious here. – NinjaAnte – 2015-12-01T17:14:23.100
1@NinjaAnte If you know the IPv6 address of the DNS server, you just say
nslookup -querytype=A host01.ABC.xyz.gdf.se 2001::whatever:ipv6
– Sami Kuhmonen – 2015-12-01T17:45:45.177