Lurker News
Back to discussion

Comment by ugh123

ugh1233 replies#
To determine ipv4/6, do you need to send that hostname and ip off to somewhere to get a response? or can it be done locally without leaving the machine?
shzhdbi09gv8ioi1 reply#
You can determine that by looking at the value.

IPv4: 123.123.123.123
IPv6: 2001:db8::8a2e:370:7334

ugh123#
Oh yeah. DUH!
dieortin#
ipv6 addresses are different, so they’re easy to distinguish