Sign inSign up

tomasen/httpdns

By tomasen

•Updated about 11 years ago

Provide httpdns and showmyip services, written in golang.

Image
0

364

tomasen/httpdns repository overview

Provide httpdns and showmyip services in golang. 提供 httpdns 和 showmyip 两种服务 in golang

Build Status GoDoc

⁠APIs

端口协议请求返回
1053http/dns?d={$domain}字符串,该域名的ip地址
1053http/myip字符串,请求者的IP
1053http/health字符串,"OK"
1153tcp字符串类型,$domain + "\n"字符串,该域名的ip地址
1154tcp无字符串类型,请求者的IP + '\n',并关闭连接

⁠Deployment

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

⁠Developing

Commited code must pass:

⁠TODO

  • test cases
  • Dockerfile
  • continue deployment on AWS and aliyun

Tag summary

Content type

Image

Digest

sha256:61998e158…

Size

213.8 MB

Last updated

about 11 years ago

docker pull tomasen/httpdns