Comments (1)
Aha, turns out you can't just query mydomainna.me
without prepending the UUID subdomain. I had to use the actual RebindDNS
object in v1.js
. Seems to be working now except the DNS responses are for the $INTERNAL_IP
instead of the $EXTERNAL_IP
.
;; QUESTION SECTION:
;9b359ec6-6d7d-4587-8348-d9e217fcde79.webcdn.website. IN A
;; ANSWER SECTION:
9b359ec6-6d7d-4587-8348-d9e217fcde79.webcdn.website. 4 IN A 172.30.0.10
This must be a miss use of the --http-bind
, --http-pool
, and --http-bind-map
parameters, but I can't for the life of me come up with a combination that responds with my $EXTERNAL_IP
... Especially considering the server logs this on start:
INFO[0059] Releasing lease on 54.173.189.125\172.30.0.10:80
I think I want those values reversed but flipping them in --http-bind-map
gives me:
INFO[0000] Found 0 eligible addresses meeting criteria: []
INFO[0000] Created new DNSServer bound to "0.0.0.0:53" (tcp)
panic: invalid argument to Intn
goroutine 1 [running]:
math/rand.(*Rand).Intn(0xc420086150, 0x0, 0xc4200944b0)
/usr/local/go/src/math/rand/rand.go:166 +0x9c
math/rand.Intn(0x0, 0x892714)
/usr/local/go/src/math/rand/rand.go:326 +0x37
main.(*Pool).Lease(0xc4200877a0, 0x8d2260, 0xc42006e340, 0xc420063d78, 0x1, 0x1, 0x0)
/home/ubuntu/go/src/jaqen/pool.go:79 +0x3ac
main.(*RebindManager).Listen(0xc4200721e0, 0x8d2260, 0xc42006e340, 0x7ffec3ea6861, 0xa, 0xc42000e0a0, 0x1, 0x1, 0x1, 0xc4200b0b40, ...)
/home/ubuntu/go/src/jaqen/manager.go:93 +0x333
main.main()
/home/ubuntu/go/src/jaqen/cli.go:117 +0x85b
Would someone giving a better explanation of the role those flags play?
from jaqen.
Related Issues (6)
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 jaqen.