GithubHelp home page GithubHelp logo

Comments (3)

trizz avatar trizz commented on June 16, 2024

Hi @geoff-maddock,

I've looked into this and unfortunately there's no reliable way of getting limited results of zones. Filtering or paginating inside the package is possible, but it does not prevent timeouts, as all zones still will be retrieved at once. So unless PowerDNS adds pagination to the API itself, it is not possible to get a paginated/filtered list of zones. I'll keep track of this PowerDNS issue and once there's pagination, we'll add it right away to the package.

from powerdns-php.

geoff-maddock avatar geoff-maddock commented on June 16, 2024

Thanks for the followup Tristan. This is the first time our team has really looked into the API, so I wasn't completely aware of the limits of the API itself until this week.

Do you have any documentation on how how you handle the filtering and pagination using your package? It's possible we might be able to work with that if the retrieval times aren't too much.

We're exploring creating our own API using API platform for reads, but probably would only be for reads and filtering.

from powerdns-php.

trizz avatar trizz commented on June 16, 2024

At this moment there's no such thing as filtering and pagination in the package, as there are no endpoints that support it. Getting a list of zones will always return all zones. If you do not want this, you'll need to create your own workaround, for example keeping a list of zones in your own DB which you can use. Unfortunately we can't do anything about it.

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.