Comments (4)
Supporting ranges would make it really easy to use nip.io for DNS reflection attacks, so while it sounds like a nice idea, it's really hard to implement safely.
In what of scenario's would you utilize ranges or lists? For most of the scenarios that I can think of, there's already sufficient control over the DNS servers in use that you can just configure multiple A records for an internal domain, or an already owned publicly reachable domain.
from nip.io.
Stumbled upon this older issue and it seems like this could be resolved fairly easily if the user, @weltonrodrigo, doesn't mind a random entry plucked from the array of IPs given. I think roundrobin would be too much for nip.io
to keep track of. Would that solve the problem? I could submit a PR for this if I hear feedback on whether that would solve this use case.
from nip.io.
from nip.io.
My use case is nip.io (previously xip.io) in Kubernetes ingresses. In case you are not familiar, you can think of it as just a cluster of load balancers in front of a group of services.
Problem is: there is no virtual ip, no cluster coordination. Just a bunch of instances (one per cluster node). So, when generating a nip.io domain for it, you have to choose one of the load balancer instances IP. The perfect would be being capable of creating a round-robin dns entry (several A entries under the same name) pointing to all instances. That way, if one is down, you can at least find the others.
So, to clarify, say my Kubernetes cluster has 3 nodes: 10.0.0.1, 10.0.0.2, 10.0.0.3. Now I have 3 nginx instances, each listening on port 80. And my workload, which is, say, a python flask with 3 instances spread over the cluster (Kubernetes make it easy so nginx automatically finds flask under the hood). Another workload would be a java web application.
To make my service available outside of the cluster, I could give users one of nginx instances ip (http://10.0.0.1). But this won't work because then nginx won't know which backend workload I'm trying to talk to. So we need a hostname.
I give users http://10-0-0-1.nip.io and configure nginx to point this hostname to the python application.
A better solution would be to give users a http://10.0.0.1-10.0.0.2-10.0.0.3.nip.io.
Anyways, I totally understand if this is tangential to the primary user case you are solving here. Thanks for this great service.
from nip.io.
Related Issues (20)
- Expired domain in config file HOT 3
- xip.io no longer exists, the website still refers to it. HOT 1
- DNS resolution quota HOT 1
- nip.io down? HOT 1
- Support DNS-01 challenges HOT 6
- IPv6 support HOT 8
- Add local.gd to "Related Services" HOT 5
- PowerDNS 4.4.0 and beyond HOT 1
- Travis CI is not running HOT 6
- NS query support HOT 1
- Removed
- Deploy to k8s HOT 1
- Allow CNAME support, not just "A" record HOT 5
- Is the nip.io service down? HOT 1
- My provider has DNS rebinding protection enabled - here's how I got a local instance working HOT 2
- nip.io status HOT 2
- Allow (or guide on configuring) binding to several DNS names HOT 1
- 将127.0.0.1简写成1 HOT 1
- allow omitted octets with ipv4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nip.io.