Coder Social home page Coder Social logo

scripts's Introduction

Some scripts

The intention with this repo is to put up useful scripts I've made :)

dns.ps1

Updates a NameCheap hosted domain's dynamic DNS. Made for systems with multple network cards (and/or VPNs).

You can choose which network card to use as base for your dynamic DNS, by specifying it. This eliminates the problem where other clients use another card's IP address, when you have more than one accessing the internet. Set $card to the name of the network card to use. You can update any subdomain, or the domain itself. The name is set in the varible $d. In the future it might be an idea to make that a parameter to the file :)

The script uses Namecheap's DNS server, instead of the local one your computer uses for browsing. This is to avoid the script thinking the IP is outdated due to an outdated DNS server, when it checks if the IP needs to be updated.

Run it every hour or so. It won't update the IP, if it's already up to date -so there's no need to worry about spamming the DDNS server.

Might work with other provides as well...

scripts's People

Contributors

slicke avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.