Code Monkey home page Code Monkey logo

Comments (6)

djc avatar djc commented on June 4, 2024

Do you mean the daemon or one of the libraries? For the daemon, I think it could plausibly still serve other parts of the config even if it was unable to resolve via an upstream resolver?

from hickory-dns.

knightian avatar knightian commented on June 4, 2024

Oh the rust crate used by Vaultwarden. The issue has more depth on this thread: dani-garcia/vaultwarden#3941 (reply in thread)

[2023-10-02 00:59:53.441][trust_dns_resolver::system_conf::unix][WARN] no nameservers found in config

it is writing a warning to be logged, but it is not throwing an Err so devs are still trying to perform queries with a resolver that has no nameservers.

from hickory-dns.

djc avatar djc commented on June 4, 2024

Ahh, so yes, if you're instantiating a resolver from trust-dns-resolver I definitely agree it makes sense to yield an error for this case. Are you able to submit a PR?

from hickory-dns.

knightian avatar knightian commented on June 4, 2024

Are you able to submit a PR?

I have honestly never looked at coding in rust in my life. If I knew what I were doing I would.

from hickory-dns.

knightian avatar knightian commented on June 4, 2024

In saying that, I'm sure I can have a crack at it, as it's just going to be a matter of finding that warning in the code and changing that log write to an exception throw, 5 minutes of google should educate me, I can have a crack at it I guess, assuming it's relatively straight forward to tool up for rust.

from hickory-dns.

knightian avatar knightian commented on June 4, 2024

@djc I think I have done it, this is the result of me googling how to raise an Err #2043

from hickory-dns.

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.