An open API service indexing awesome lists of open source software.

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

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: