Re: [systemd-devel] [PATCH] Add tool to query resolved

2014-07-30 Thread Lennart Poettering
On Wed, 16.07.14 22:55, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > --- > Useful? Maybe as a test binary? Added this now. While for most testing "getent hosts" and "getent ahosts" should be good enough, we probably should provide a tool that can resolve full RRs, where "getent" isn'

Re: [systemd-devel] [PATCH] Add tool to query resolved

2014-07-16 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 17, 2014 at 12:36:17AM +0300, Mantas Mikulėnas wrote: > For testing, if the nss module is installed but not configured, > `getent --service="resolve" ahosts google.com` might work... Yes, but there's no way to extract interface information with the standard interfaces. Zbyszek

Re: [systemd-devel] [PATCH] Add tool to query resolved

2014-07-16 Thread Mantas Mikulėnas
For testing, if the nss module is installed but not configured, `getent --service="resolve" ahosts google.com` might work... -- Mantas Mikulėnas ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/lis

[systemd-devel] [PATCH] Add tool to query resolved

2014-07-16 Thread Zbigniew Jędrzejewski-Szmek
--- Useful? Maybe as a test binary? Zbyszek .gitignore | 1 + Makefile.am | 10 ++ src/resolve-host/Makefile | 1 + src/resolve-host/resolve-host.c | 277 4 files changed, 289 insertions(+) create mode