Accept - in Lookup IP Adress

Post your site questions, issues, or suggestions for WhatIsMyIPAddress.com here.
Locked
andy
New Member
Posts: 2
Joined: Mon Jan 23, 2017 11:57 am

Accept - in Lookup IP Adress

Post by andy »

Hello staff,
I have a suggestion concerning the input box in the Lookup IP Adress
Actually, IP's have to be pasted this way: xxx.xxx.xxx.xxx
Could it be possible to also accept dashes (-) as separators, and not only dots (.) for example: xxx-xxx-xxx-xxx
Because very often, IP's are indicated with dashes as separators.
Thanks & bravo for your great site, active for so many years now.
User avatar
Chrispcritters
Forum Administrator
Posts: 2834
Joined: Tue Mar 02, 2010 5:41 pm
Location: 127.0.0.1 | ::1
Contact:

Re: Accept - in Lookup IP Adress

Post by Chrispcritters »

Yes, it's something that we could add.

Where have you seen IP addresses with "-" instead of a "."? The only place I recall seeing it used is in PTR records.
Founder & CEO of WhatIsMyIPAddress.com.
You can follow me on Twitter and Facebook for some behind the scenes info.
andy
New Member
Posts: 2
Joined: Mon Jan 23, 2017 11:57 am

Re: Accept - in Lookup IP Adress

Post by andy »

Thanks Chris for your quick answer !
I found dashes separators on IRC, for example in #quebec or #usa channels

In case you add this functionality, the error message should probably change :
"Invalid IP address. Please enter a valid IP address. (For example: 10.0.0.1 or 10-0-0-1)"
User avatar
Chrispcritters
Forum Administrator
Posts: 2834
Joined: Tue Mar 02, 2010 5:41 pm
Location: 127.0.0.1 | ::1
Contact:

Re: Accept - in Lookup IP Adress

Post by Chrispcritters »

Gotcha, we can update to convert dashes to periods but probably won't update the error message as IP addresses don't have dashes.
Founder & CEO of WhatIsMyIPAddress.com.
You can follow me on Twitter and Facebook for some behind the scenes info.
Locked