Had to change your awk a bit for my system:
#
# Variables
#
URL=https://www.unix.com/what-is-my-ip.php
T="T=\\t"
#
# Action & Display
#
lynx -dump "$URL" | awk '/DNS Lookup For/ {print...
Wasnt sure where to post, but thought this is most matching.
Thanks to Neo we can now see our IP and much more on: https://www.unix.com/what-is-on-your-mind-/256156-what-my-ip-address.html
...