/httpdns

httpdns service with show-my-ip api that can continuous deployment by Dockerfile

Primary LanguageGo

Provide httpdns and show-my-ip services in golang.

Build Status Coverage Status

APIs

port scheme request response
1053 http /dns?d={$domain} type: string, ip address of $domain
1053 http /myip type: string, ip address of client
1053 http /health type: string, "OK" indicate health
1153 tcp type: string, $domain + "\n" type: string, ip address of $domain
1154 tcp not required type: string,ip address of client + '\n'

Deployment

docker run -p 1053:1053 -p 1153-1154:1153-1154 tomasen/httpdns

Developing

Commited code must pass:

TODO

  • support set record manualy with ttl expiration time
  • support location optimaized result
  • more test cases
  • return carriar & geo info