twhtanghk/ngrokDNS


Dynamic update DNS entry for ngrok random generated hostname

License: MIT

Language: CoffeeScript


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'

Project Statistics

Sourcerank 2
Repository Size 19.5 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 125
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Tommy Tang

Packages Referencing this Repo

ngrokdns
Dynamic update DNS entry for ngrok random generated hostname
Latest release 0.0.3 - Updated

Something wrong with this page? Make a suggestion

Last synced: 2019-08-23 20:16:46 UTC

Login to resync this repository