Geolocation Networking Data
Query |
Type |
Description |
country |
string |
IP Geolocation |
format |
string |
Output format |
No other options
Query |
Type |
Description |
opt |
string |
Options for shell command |
Query |
Type |
Description |
include |
string |
File path of the zone options |
Query |
Type |
Description |
dns |
string |
DNS server address |
Query |
Type |
Description |
gw |
string |
Gateway address |
table |
string |
Routing table |
Query |
Type |
Description |
type |
int |
4 for IPv4; 6 for IPv6 |
Supported formatters:
curl http://127.0.0.1:8080/geoip?country=CN&type=4&format=shell&opt=dev%20pppoe-wan
Supported formatters:
curl http://127.0.0.1:8080/geosite?country=CN&format=bind&include=/etc/bind/named.china.zones