Brian Cunnie 4bd039bc57 QueryResponse() is the centerpiece of the library
`QueryResponse()` takes a byte array and returns a byte array. It's a
black box that `main.go` can use to input the DNS query and get back the
DNS response. This enables us to have a very lean `main.go`, which means
we can put much of the processing into the library, and which means we
can unit-test the components.

- A better-late-than-never `gofmt -w .` included cosmetic changes.
2020-08-29 11:59:07 -07:00
2020-07-25 16:45:14 -07:00
2015-08-30 10:27:54 -07:00
2015-08-26 11:43:35 -07:00

sslip.io

ci.nono.io

sslip.io is a domain that maps specially-crafted DNS A records to IP addresses (e.g. "127-0-0-1.sslip.io" maps to 127.0.0.1). It is similar to, inspired by, and uses much of the code of xip.io.

Refer to the website (sslip.io) for more information.

  • k8s/document_root/ contains the HTML content of the sslip.io website
  • ci/ contains the Concourse continuous integration (CI) pipeline and task.
  • spec/ contains the RSpec files for test driven development (TDD). To run the tests:
DOMAIN=sslip.io rspec --format documentation --color spec
  • conf/sslip.io+nono.io.yml contains the PowerDNS's pipe backend's configuration in YAML format for use with BOSH. The pdns_pipe key is the pipe backend script, and pdns_pipe_conf is its configuration file.
Description
基于 Golang 的 DNS 服务器,它将带有嵌入式 IP 地址的 DNS 记录映射到这些地址。
Readme Apache-2.0 2.8 MiB
Languages
Go 81%
HTML 14.2%
Ruby 2.6%
Dockerfile 1.8%
Shell 0.4%