https://github.com/blrchen/azure-ip-lookup
API to lookup Azure region info and service tag based on domain name or ip address
https://github.com/blrchen/azure-ip-lookup
azure-ip-lookup
Last synced: 18 days ago
JSON representation
API to lookup Azure region info and service tag based on domain name or ip address
- Host: GitHub
- URL: https://github.com/blrchen/azure-ip-lookup
- Owner: blrchen
- License: mit
- Created: 2020-10-10T13:30:57.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-04T16:04:40.000Z (over 1 year ago)
- Last Synced: 2025-04-09T13:01:55.148Z (3 months ago)
- Topics: azure-ip-lookup
- Language: C#
- Homepage: https://www.azurespeed.com/Azure/IPLookup
- Size: 256 KB
- Stars: 24
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure IP Lookup
This tool provides API services to fetch Azure region data and service tags via a domain name or an IP address.
## Web UI
* Visit the Web UI here:
## Web API Usage
| Function | Example URL |
|-------------------|-------------------------------------------------------------------------------------------------------|
| Domain name lookup | |
| IPv4 address lookup | |
| IPv6 address lookup | |## Local Development Environment Setup
1. Download and install Dotnet Core SDK 6 from .
2. Open **AzureIpLookup.sln** file in Visual Studio 2022 or Rider.
3. Compile the code and start the function app locally. Access the local endpoint at . If you encounter an error `The listener for function 'SyncServiceTagFiles' was unable to start,` try running the Azurite Emulator locally with the following Docker command and then restart the function app:```bash
docker run --name azurite -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite
```## Cloud Deployment
At the moment, deployment is only supported on Azure Function. For detailed instructions, refer to the official Azure Function documentation.
## Additional Resources
* Service Tags:
* URLs to download Azure's IP range and service tag data:
* Azure Cloud:
* Azure China Cloud:
* Azure US Government Cloud: