Hacker News new | past | comments | ask | show | jobs | submit login

A different format for writing ip addresses



Why do you need a different format for writing IP addresses to circumvent the PiHole? Shouldn't a regular IP address literal skip the DNS lookup, too?


I used that notation for fun, as most of people are not aware of it, and based on comments quite a few people learned something new :)

And it is a regular ip address, just written differently :)


Ah okay, I got it: it's the decimal representation of the IP address.

https://www.lookip.net/ip/172.217.23.110

Funny I wasn't aware of this despite 25 years of being an Internet user


> "Funny I wasn't aware of this despite 25 years of being an Internet user"

You're not alone… I been using the Internet longer'n that and I didn't ever think of converting an IP address to a decimal number either. It makes perfect sense now that it's been pointed out, but for some reason it just never crossed my mind to even try it.


To be fair, there are many different bases. I wonder if there’s anything special about base 10 that made them support it.


IPv4 addresses are written in base 10 for human users.

The "special" case is supporting network addresses to be written as 10.2932832 ("convenient" for class A's), 172.16.61031 (ditto for B's), or just one big address like 39282329, when we're used to 4 octets separated by dots.

Not every bit of host software supports these cases anymore, as basically their sole remaining use case is as a curiosity or to circumvent bad security controls.


Bah, humans!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: