mr-karan / doggo

:dog: Command-line DNS Client for Humans. Written in Golang
https://doggo.mrkaran.dev/
GNU General Public License v3.0
2.83k stars 100 forks source link

Integrate Globalping API for global network diagnostics #137

Open mr-karan opened 2 months ago

mr-karan commented 2 months ago

Overview

Integrating the Globalping API (https://www.jsdelivr.com/globalping) into doggo to enable users to run network diagnostic tests from various global locations. This feature would allow users to troubleshoot network issues that may only occur in specific geographical areas without the need for VPNs or remote servers.

Proposed Functionality

Example Usage

doggo example.com --from Germany

This command would perform a DNS lookup for example.com from a probe located in Germany.

NOTE: This should be an opt-in feature to run doggo and only when --probe is specified, should we look for API auth tokens for Globalping.

jimaek commented 2 months ago

The example usage says --from but the description says --probe Which one do you prefer? Personally I think from is clearer about what it does

mr-karan commented 2 months ago

@jimaek Hey. Yeah --from is fine 👍

jimaek commented 1 month ago

Related PR https://github.com/mr-karan/doggo/pull/143