You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,27 @@ This is a fork of http://nip.io with some neat changes.
6
6
7
7
Dead simple wildcard DNS for any IP Address
8
8
9
-
NIP.IO allows you to map any IP Address in the following DNS wildcard entries:
9
+
nip.io allows you to map any IP Address in the following DNS wildcard entries:
10
10
11
+
It works with Dashes `-`, perfect for wildcard TLS certs:
11
12
~~~
12
13
10-0-0-1.nip.io maps to 10.0.0.1
13
-
10.0.0.1.nip.io maps to 10.0.0.1
14
14
app.10-0-0-1.nip.io maps to 10.0.0.1
15
-
app.10.0.0.1.nip.io maps to 10.0.0.1
16
15
customer1.app.10-0-0-1.nip.io maps to 10.0.0.1
17
-
customer1.app.10.0.0.1.nip.io maps to 10.0.0.1
18
-
otherapp.10-0-0-1.nip.io maps to 10.0.0.1
16
+
~~~
19
17
18
+
As well as Dot `.`:
19
+
~~~
20
+
10.0.0.1.nip.io maps to 10.0.0.1
21
+
app.10.0.0.1.nip.io maps to 10.0.0.1
22
+
customer1.app.10.0.0.1.nip.io maps to 10.0.0.1
20
23
NIP.IO maps <anything>.<IP Address with dashes or dots>.nip.io to the corresponding <IP Address>, even 127-0-0-1.nip.io maps to 127.0.0.1
21
24
~~~
22
25
26
+
See https://github.com/resmo/nip.io/blob/master/src/backend.conf.example for an example config
27
+
28
+
**Hint**: See the static CNAME `_acme-challenge=xyz.auth.example.com.` in the example, use it with https://github.com/joohoi/acme-dns for free Let's Encrypt TLS certs.
29
+
23
30
## INSTALL
24
31
25
32
### As docker container
@@ -31,7 +38,7 @@ docker build -t nip.io .
31
38
32
39
Run the container:
33
40
~~~
34
-
docker run -d -p 0.0.0.0:53:53/tcp -p 0.0.0.0:53:53/udp --name nip.io nip.io
0 commit comments