Skip to content

Commit 725b1f3

Browse files
committed
Roopinder's nip.io index.html
1 parent dee986c commit 725b1f3

File tree

1 file changed

+139
-0
lines changed

1 file changed

+139
-0
lines changed

k8s/document_root_nip.io/index.html

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE html>
3+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4+
<head>
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-25250258-6"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'UA-25250258-6');
12+
</script>
13+
14+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
15+
<title>nip.io - wildcard DNS for any IP Address</title>
16+
17+
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css"
18+
integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous"/>
19+
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
20+
<link rel="stylesheet" href="app.css" type="text/css"/>
21+
</head>
22+
<body>
23+
<div class="pure-g">
24+
<div class="pure-u-1-5"></div>
25+
<div class="pure-u-3-5">
26+
<header>
27+
<h1 class="header">nip.io</h1>
28+
</header>
29+
30+
<article>
31+
<h2>Dead simple wildcard DNS for any IP Address</h2>
32+
33+
<p>
34+
Stop editing your <code>etc/hosts</code> file with custom hostname and IP address mappings.
35+
</p>
36+
37+
<p>
38+
<a href="/">nip.io</a> allows you to do that by mapping any IP
39+
Address to a hostname using the following formats:
40+
</p>
41+
42+
<p>Without a name:</p>
43+
44+
<ul>
45+
<li><code>10.0.0.1.nip.io</code> maps to <code>10.0.0.1</code></li>
46+
<li><code>192-168-1-250.nip.io</code> maps to <code>192.168.1.250</code></li>
47+
<li><code>0a000803.nip.io</code> maps to <code>10.0.8.3</code></li>
48+
</ul>
49+
50+
<p>With a name:</p>
51+
52+
<ul>
53+
<li><code>app.10.8.0.1.nip.io</code> maps to <code>10.8.0.1</code></li>
54+
<li><code>app-116-203-255-68.nip.io</code> maps to <code>116.203.255.68</code></li>
55+
<li><code>app-c0a801fc.nip.io</code> maps to <code>192.168.1.252</code></li>
56+
<li><code>customer1.app.10.0.0.1.nip.io</code> maps to <code>10.0.0.1</code></li>
57+
<li><code>customer2-app-127-0-0-1.nip.io</code> maps to <code>127.0.0.1</code></li>
58+
<li><code>customer3-app-7f000101.nip.io</code> maps to <code>127.0.1.1</code></li>
59+
</ul>
60+
61+
<p>
62+
<a href="/">nip.io</a> maps <code>&lt;anything&gt;[.-]&lt;IP Address&gt;.nip.io</code> in
63+
<strong>&quot;dot&quot;</strong>, <strong>&quot;dash&quot;</strong> or <strong>&quot;hexadecimal&quot;</strong> notation to the corresponding
64+
<code>&lt;IP Address&gt;</code>:
65+
</p>
66+
67+
<ul>
68+
<li>dot notation: <code>magic.127.0.0.1.nip.io</code></li>
69+
<li>dash notation: <code>magic-127-0-0-1.nip.io</code></li>
70+
<li>hexadecimal notation: <code>magic-7f000001.nip.io</code></li>
71+
</ul>
72+
73+
<p>
74+
The &quot;dash&quot; and &quot;hexadecimal&quot; notation is especially useful when using services like
75+
<a href="https://letsencrypt.org/" target="_blank">LetsEncrypt</a> as it's just a regular sub-domain
76+
of <a href="/">nip.io</a>
77+
</p>
78+
79+
<h2>About this service</h2>
80+
81+
<p>
82+
<a href="/">nip.io</a> is powered by <a href="http://www.powerdns.com/" target="_blank">PowerDNS</a> with a simple,
83+
custom
84+
<a href="https://doc.powerdns.com/authoritative/backends/pipe.html" target="_blank">PipeBackend</a>
85+
written in Python:
86+
<a href="https://github.com/exentriquesolutions/nip.io/blob/master/nipio/backend.py" target="_blank" rel="nofollow">backend.py</a>
87+
</p>
88+
89+
<p>
90+
It's open source, licensed under Apache 2.0:
91+
<a href="https://github.com/exentriquesolutions/nip.io" target="_blank" rel="nofollow">https://github.com/exentriquesolutions/nip.io</a>
92+
&#8212; pull requests are welcome.
93+
</p>
94+
95+
<p>
96+
This is a free service provided by
97+
<a href="http://exentriquesolutions.com" target="_blank">Exentrique Solutions</a>
98+
(the same people who run <a href="https://xp-dev.com" target="_blank">XP-Dev.com</a> which offer
99+
<a href="https://xp-dev.com" target="_blank">Git, Mercurial and Subversion hosting</a>).
100+
</p>
101+
102+
<p>
103+
Feedback is appreciated, just
104+
<a href="https://github.com/exentriquesolutions/nip.io/issues" target="_blank" rel="nofollow">
105+
raise an issue in GitHub
106+
</a>.
107+
</p>
108+
109+
<h2>Troubleshooting</h2>
110+
111+
<h3>DNS Rebinding Protection</h3>
112+
113+
<p>
114+
Some DNS resolvers, forwarders and routers have
115+
<a href="https://en.wikipedia.org/wiki/DNS_rebinding" target="_blank">DNS rebinding protection</a>
116+
which may result in failure to resolve local and private IP addresses.
117+
This service won't work in those situations.
118+
</p>
119+
120+
<h2>Related Services</h2>
121+
<ul>
122+
<li>
123+
<a href="https://github.com/Corollarium/localtls" target="_blank">localtls</a>:
124+
A DNS server in Python3 to provide TLS to webservices on local addresses.
125+
It resolves addresses such as '192-168-0-1.yourdomain.net' to 192.168.0.1 and has a valid TLS certificate for them.
126+
</li>
127+
<li>
128+
<a href="https://sslip.io/" target="_blank">sslip.io</a>: Alternative to this service, supports IPv6 and custom domains.
129+
</li>
130+
<li>
131+
<a href="https://local.gd/" target="_blank">local.gd</a>: Alternative to this service, where everything is mapped to localhost/127.0.0.1.
132+
</li>
133+
</ul>
134+
</article>
135+
</div>
136+
<div class="pure-u-1-5"></div>
137+
</div>
138+
</body>
139+
</html>

0 commit comments

Comments
 (0)