feat: add domain lookup endpoint
This commit is contained in:
@@ -60,6 +60,28 @@ Client
|
||||
|
||||
---
|
||||
|
||||
## Domain-Lookup (optional)
|
||||
|
||||
Für Backend-Validierung von Institutions-Domains:
|
||||
|
||||
```
|
||||
GET /lookup?domain=uni-stuttgart.de
|
||||
```
|
||||
|
||||
Antwort (JSON):
|
||||
```json
|
||||
{
|
||||
"domain": "uni-stuttgart.de",
|
||||
"nren": true,
|
||||
"asn": 12345,
|
||||
"asn_org": "Universitaet Stuttgart",
|
||||
"ips": ["129.69.1.1"],
|
||||
"matched_ip": "129.69.1.1"
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Integration
|
||||
|
||||
Der Service wird als **Traefik ForwardAuth Middleware** eingebunden.
|
||||
|
||||
Reference in New Issue
Block a user