ngrokdns
Dynamic update DNS entry for ngrok random generated hostname
Last updated 9 months ago by twhtanghk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ngrokdns 
SYNC missed versions from official npm registry.

ngrokDNS

Dynamic update DNS entry for ngrok random generated hostname

  1. define and export USERNAME, PASSWORD, HOST environment variables
export USERNAME=freedns username
export PASSWORD=freedns password
export HOST=freedns dynamic updated host
  1. start ngrok tunnel or localtunnel
yarn global add ngrok
ngrok http port

-------------------------------------------

yarn global add localtunnel
lt --port port --subdomain freedns

-------------------------------------------

ssh -R freedns:80:localhost:1337 serveo.net
  1. example to dynamic update freedns entry
{ngrok, freedns} = require 'ngrokdns'
do ->
  console.log await freedns await ngrok()
  console.log await freedns 'freedns.localtunnel.me'
  console.log await freedns 'freedns.serveo.net'

Current Tags

  • 0.0.1                                ...           latest (9 months ago)

1 Versions

  • 0.0.1                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |