Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoIP needs to be implemented #4

Open
endail opened this issue Aug 3, 2024 · 0 comments
Open

GeoIP needs to be implemented #4

endail opened this issue Aug 3, 2024 · 0 comments

Comments

@endail
Copy link
Owner

endail commented Aug 3, 2024

Ultimately, checking the physical location of the IP address would be most ideal to identify where an NTP server is located.

https://hackertarget.com/geoip-ip-location-lookup/

$ curl https://api.hackertarget.com/ipgeo/?q=203.14.0.250
IP Address: 203.14.0.250
Country: Australia
State:
City:
Latitude: -33.494
Longitude: 143.2104

Also seems to handle hostnames.

$ curl https://api.hackertarget.com/ipgeo/?q=tic.ntp.telstra.net
IP Address: 203.14.0.250
Country: Australia
State:
City:
Latitude: -33.494
Longitude: 143.2104

https://ip-api.com/docs/api:newline_separated#test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant