Is it possible to get an IPv6 using DUID or MAC

I am trying to figure out if it is possible to get an IPv6 using DUID or MAC address and use it to update Google domains DNS for example hostname=subdomain.yourdomain.com&myip=2600::::::Device1

Do you have:

  • an IPv6 tunnel broker, or
  • does your ISP provide you Public IPv6 addresses?

If so, yes.

I do have public IPv6 address, Is there any script to find out the IPv6 of a device using MAC or DUID, I would love to get one.

Wow...this is an old thread...

ip -6 neigh

This will show you neighbor IPs and their MAC. Hope this helps.

1 Like

https://openwrt.org/docs/techref/odhcpd#ubus_api