Clean DNS service

⚠️

DNS only support application/dns-message format for now

Endpoint:

https://resolve.srv.work/dns-query

Testout

# 1. install dog from homebrew
brew install dog
 
# 2. resolve dns using `resolve.srv.work`
dog -H @https://resolve.srv.work/dns-query google.com

Information

resolve.srv.work will auto lookup the domain's DNS record split by domestic and oversea domain and return the result.

For oversea domain names, resolve.srv.work will using the dns results from the Tokyo(Japan) server to resolve the dns results from Cloudflare's 1.1.1.1 DNS server.