Coder Social home page Coder Social logo

Comments (2)

agusdomin avatar agusdomin commented on June 11, 2024

Hi, same problem here

from getssl.

tlhackque avatar tlhackque commented on June 11, 2024

Using the IP address to select views for updates is inadvisable due to forgery issues. Using TSIG is strongly preferred. See the bind documentation.

It appears that you are using dns_scripts/dns_{add,del}_nsupdate. It supports DNS_NSUPDATE_KEYFILE and DNS_NSUPDATE_GETKEY for the TSIG use case.

However, for those who "can't" use TSIG, here's a patch that adds DNS_NSUPDATE_LOCALIP. It takes an IP adddress or IP address & port (space separated). I'll add this to my current PR. You can apply the patch, or use https://github.com/tlhackque/getssl

Note that these variables must be declared with export - e.g. export DNS_NSUPDATE_LOCALIP="192.168.254.123".

nsupdate_localip.patch

With respect to left-over challenge tokens: There are many error exit paths that can cause this.

https://github.com/tlhackque/certtools contains acme_challenge_check, which handles cleanup of a zone. I have a cron job that runs it periodically. You want to schedule it at a time that getssl isn't running. You need to permit acme_challenge_check to do zone transfers (by TSIG or IP address).

from getssl.

Related Issues (20)

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.