I would advise you not to do that. Some systems read the numbers with atoi(), which will interpret a leading zero as a prefix for 'octal' like in C.
irb(main):001:0> require 'ipaddr' => true IPAddr.new("000.000.000.000").ipv4? IPAddr::InvalidAddressError (zero-filled number in IPv4 address is ambiguous: 000.000.000.000)
And people think this is easier than v6, where adding a 0 to db8 just makes it 0db8...?
I would advise you not to do that. Some systems read the numbers with atoi(), which will interpret a leading zero as a prefix for 'octal' like in C.