3 comments

[ 2.3 ms ] story [ 15.3 ms ] thread
Hi HN,

We just launched NAT64 support [1] and we had some issues with IP addresses. Luckily, we're developers, so we coded a simple solution. NAT64+DNS64 requires names to work, so we create these pseudonyms for IP addresses.

host 8.8.8.8.visibleip.com returns 8.8.8.8

We setup visibleip.com on an anycast IP in 16 different POPs incase anyone relies on it!

Hope it helps you!

[1] https://blog.ipv6.rs/ipv4-activated-via-nat64/

nip.io does the same thing + extra stuff

another option: sslip.io

That's pretty cool. TIL. I wish I would have seen these earlier.

Our implementation is quite simple (< 80 actual lines of code in GoLang) and is for a very specific use case!

Hope it can help someone -- it helped us anyway and we thought we'd share :D