I don't know enough about the function, or ip's, to determine how my column structure should be for storing this. Any suggestions?
Simply use an unsigned INT
field for it.
Also see http://lists.mysql.com/cluster/2781 for a discussion about it.
Using INT
is fine when you're dealing with IPv4 addresses. However 128-bits long IPv6 can't be stored as INT
or even BIGINT
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With