Giter Club home page Giter Club logo

s6-dns's People

Contributors

heliocat avatar mobin-2008 avatar skarnet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

s6-dns's Issues

More descriptive error message when reading /etc/hosts file

Hello, thanks for writing and maintaining s6 suite of tools.

I had quite a head-scratcher recently, because it was hard to deduce why s6-tcpclient failed with error:

s6-tcpclient: fatal: unable to init DNS: Invalid or incomplete multi-byte or wide character

I had to resort to reading sources... The problem was that I had some strange entries in /etc/hosts file:

fe80::1%lo0 localhost
0.0.0.0 0.0.0.0

Is it possible to extend error messages to inform that at least it was an error related to /etc/hosts file parsing? Or maybe ignore erroneous lines, because this file is commonly managed manually, so it is possible that it will contain some errors in it.

dnssec support ?

Since i missed it explicitely mentioned in what i read thus far, is there any DNSSEC supported built in to s6-dns and it's utilities ?

querying SPF record

I'm wondering if you would be open to adding support to query the SPF record (next to TXT).

Background, libspf2 currently uses res_query from libc to do resolving. When using musl libc, this means resolutions are restricted to the first 512 bytes of DNS response. With SPF being in TXT records, nowadays a lot of extra info gets in there, easily exceeding this limit. (As a result spf validation fails.) s6-dns appears to be able to handle this scenario just fine, but it cannot do the SPF queries that it would do (at least I cannot find any notion of them in the s6-dns code).

I have no idea if it really is going to be feasible to plug s6-dns into libspf2, but I'm looking for possible options here to make spf validation work on musl systems.

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.