bloomberg / bloomberg/goldpinger
How to use ping domain?
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 187
- PR merge metrics
- No merged PRs in 30d
Description
I have a practical problem. Using HOSTS_TO_RESOLVE to resolve the external domain a.test.com returns OK, but the test pod fails to access a.test.com and crashes. In addition, I exec into another container and ping a.test.com, but there is no response.
The actual problem is that coredns has configured the wrong static host. It is fine if it is deleted. But goldpinger cannot detect it.
I noticed that HOSTS_TO_RESOLVE uses protocol="dns", but ping is icmp
So I want to use the flag of pinging the domain
version=3.10.2
If this feature doesn't exist, you can assign it to me, please let me know where to start.
Contributor guide
Research direction
Start by tracing how HOSTS_TO_RESOLVE and protocol="dns" are handled, then compare that path with the existing ping or ICMP checks. The change is complete when an option can test a domain with ping and detects the incorrect static host described for a.test.com; add coverage alongside the existing connectivity checks if the project provides it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, kubernetes
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100