GithubHelp home page GithubHelp logo

How to increment serial ? about powerdns-php HOT 3 CLOSED

exonet avatar exonet commented on June 19, 2024
How to increment serial ?

from powerdns-php.

Comments (3)

trizz avatar trizz commented on June 19, 2024

Hi @mickaelmonsieur,

Currently it is not possible to update the SOA serial yourself.

However, it seems that you want to increase it, which will happen automatically when the zone has INCEPTION-INCREMENT configured as a value for SOA-EDIT. At this moment it is not possible to manage this with this package. You can use pdnsutil to check/update the meta of the zone.

from powerdns-php.

mickaelmonsieur avatar mickaelmonsieur commented on June 19, 2024

Hi @trizz ,
I don't think letting powerdns increase the serial itself makes any sense.
I explain why:
If I add 250 entries in my zone, the server increases 250x the serial? It makes no sense.
I just have to update the serial at the end of all my modifications, don't you think?

from powerdns-php.

robbinjanssen avatar robbinjanssen commented on June 19, 2024

Hi @mickaelmonsieur, thanks for your issue!

I think it is pdns own advice to update the serial after each change, so therefor we sticked with the default. I like it cause I don't want to worry about the serial update :-)

I'm afraid I don't see us implementing this any time soon, but we're absolutely open for a pull request!

To achieve this a save() method must be created in the Zone class. It should implement the put API call.

Let us know if we can be of any more help.

from powerdns-php.

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.