#vpn #wireguard #networking #innernet #overlay

bin+lib innernet-publicip

A simple library to get your public IP (IPv4 and/or IPv6)

2 stable releases

new 1.7.1 Nov 10, 2025
1.7.0 Aug 13, 2025

#4 in #innernet

Download history 126/week @ 2025-08-11 28/week @ 2025-08-18 27/week @ 2025-08-25 39/week @ 2025-09-01 22/week @ 2025-09-08 17/week @ 2025-09-15 7/week @ 2025-09-22 21/week @ 2025-09-29 12/week @ 2025-10-06 18/week @ 2025-10-13 15/week @ 2025-10-20 3/week @ 2025-10-27

51 downloads per month
Used in 3 crates (2 directly)

MIT license

9KB
176 lines

Get your public IP address(es) as fast as possible, with no dependencies.

It uses Quad9's DNS server along with a feature specific to their resolver which returns your external IP address.


innernet-publicip

A simple library used by innernet to get our own IP address. Supports either or both IPv4 and IPv6.

Versioning is held in lockstep with innernet, although this may change in the future.

No runtime deps