Code Monkey home page Code Monkey logo

route53ddns's Introduction

A Windows UI application + windows service to use Route53 as a Dynamic DNS provider. 
Application is supposed to be launched on any machine inside network behind one NAT-ing device with one external IP.
It deliberately does not do anything with registry, but stores everything in files.

There is no installer at this point. 

= Requirements =
.NET framework 4.5
Visual Studio Express C# 2012 (Depends on usage)

= Usage if you trust the binaries =

For UI application

1. Download archive with binaries from downloads section
2. Unpack
3. run the Route53DDNS.exe from Route53DDNS directory

For service

1. Download archive with binaries from downloads section
2. Unpack
3. Determine where is your .net framework4 directory located
4. Run "cmd" as administartor, change directory to where you unpacked the bundle + Route53DDNSService
5. Inside cmd run c:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /LogToConsole=true Route53DDNSService.exe"
6. Create Route53DDNSService\config\aws.json with AWS credentials 
{
	"awsAccessKey":"",
	"awsSecretKey":"",
	"hostedZoneId": "",
	"awsRegion": "us-east-1"
}

or

run the Route53DDNS.exe and let application create the config for you in UI.

7. Go to services and start it, or reboot it will autostart. Look in logs it works!

= Source code compile and usage =
1. Download the source from github by doing in git shell
git clone git://github.com/dreamins/Route53DDNS.git
2. Open with Visual Studio Express C# 2013 (or any other recent enough for .NET 4.5)
4. Rebuild
5. Run executable for UI or see above for service


= Notes =
a. The package includes modified version of log4net built with .NET client profile.
Original log4net can be downloaded from http://logging.apache.org/log4net/ and is distributed under Apache License 2.0

b. The package includes pre-compiled by AWS AWSSDK 2.0.2.0. It can be downloadad from http://aws.amazon.com/sdkfornet/ and is distributed under Apache License 2.0

route53ddns's People

Contributors

dreamins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

route53ddns's Issues

Service doesn't work but app does

The app version updated the record fine but the service cannot find the same record. I used the config file created by the app version for the service so I know it's fine. Here is the final log entry from the service.

25 Oct 2014 13:54:44,606 [ERROR] Route53DDNSLib.Runner: Got an exception haven't done anything perhaps.Route53DDNSLib.exception.ConfigurationException: Cannot get previous IP from Route53. Make sure you have one A record in your hosted zone!
at Route53DDNSLib.accessor.Route53AIPForHostedZoneAccessor.get()
at Route53DDNSLib.Runner.doIt(Object state)

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.