GithubHelp home page GithubHelp logo

Comments (6)

ross avatar ross commented on June 1, 2024

Going to move this into https://github.com/octodns/octodns-bind since it appears to be specific to that provider.

from octodns-bind.

ross avatar ross commented on June 1, 2024

What version of the AzureProvider are you using, it looks like it should support ROOT_NS values https://github.com/octodns/octodns-azure/blob/70b8c9153db8ee25e701a5b488f828560f536156/octodns_azure/__init__.py#L903, though there may be some complications around Azure's requiring its own NS values to be included.

Beyond that based on a quick look at the error message it appears to be something that the underlying library throws and not octoDNS,

'The DNS zone has no NS RRset at its origin.', str(ctx.exception)
, https://github.com/octodns/octodns-bind/blob/a6fb996c4bdd5661374a8ab0cc8bc21fe54dff6f/tests/zones/invalid.zone.tst.

Based on πŸ‘οΈing the underlying library's code, https://dnspython.readthedocs.io/en/latest/_modules/dns/zone.html?highlight=from_file# and https://dnspython.readthedocs.io/en/latest/_modules/dns/zone.html?highlight=from_xfr# both state they throw that error and don't appear to have a way to suppress it.

Side note: I'd recommend pasting the stack traces in addition to the specific exception messages as it can be helpful when digging into where errors are coming from.

from octodns-bind.

ross avatar ross commented on June 1, 2024

Hrm, actually looks like check_origin https://dnspython.readthedocs.io/en/latest/_modules/dns/zone.html?highlight=check_origin# throws that error and there may be an argument to the calls that controls whether or not that happens. If that's the case then it's possible a provider arg check_origin would make sense.

from octodns-bind.

benjamin-rousseau-shift avatar benjamin-rousseau-shift commented on June 1, 2024

I'm talking specifically about Azure Private DNS Zone which is provider AzurePrivateProvider. ( Latest version ).

It does not support NS, but I'm wondering if there might be a workaround for usecases where we want to sync a axfr/rfc zone to an Azure private DNS zone.

I'm out of office now but I can give more details tomorrow if needed. πŸ‘

from octodns-bind.

ross avatar ross commented on June 1, 2024

It does not support NS, but I'm wondering if there might be a workaround for usecases where we want to sync a axfr/rfc zone to an Azure private DNS zone.

You can disable strict_supports to turn that supports exception into a warning, https://github.com/octodns/octodns#strict_supports-work-in-progress. You need to make sure that's the only warning that's printed out afterwards or that you're OK with any others.

from octodns-bind.

benjamin-rousseau-shift avatar benjamin-rousseau-shift commented on June 1, 2024

You are correct it's working fine with strict_supports disabled !
Thank you so much.

I would then suggest that the error thrown, tell you about this with a link to the right section in the README.

from octodns-bind.

Related Issues (12)

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.