From: Zbigniew Jędrzejewski-Szmek Date: Fri, 26 Mar 2021 12:25:04 +0000 (+0100) Subject: resolvectl: reword note about "raw record types" X-Git-Tag: v248-2~4^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20e994b39261ec34df18ab78ddc2585e82f9b2d2;p=thirdparty%2Fsystemd.git resolvectl: reword note about "raw record types" As noted in https://github.com/systemd/systemd/pull/17535#discussion_r534129256, "raw" is misleading in this context. Let's use a more descriptive term. --- diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c index 2bd18d2c6d3..0ccd16892f1 100644 --- a/src/resolve/resolvectl.c +++ b/src/resolve/resolvectl.c @@ -456,14 +456,14 @@ static int resolve_record(sd_bus *bus, const char *name, uint16_t class, uint16_ log_debug("Resolving %s %s %s (interface %s).", name, dns_class_to_string(class), dns_type_to_string(type), isempty(arg_ifname) ? "*" : arg_ifname); if (dns_name_is_single_label(name)) - log_notice("(Note that search domains are not appended when resolving raw record types. " - "Please specify fully qualified domain names when resolving raw records, or remove --type= switch from invocation in order to request regular hostname resolution.)"); + log_notice("(Note that search domains are not appended when --type= is specified. " + "Please specify fully qualified domain names, or remove --type= switch from invocation in order to request regular hostname resolution.)"); r = idna_candidate(name, &idnafied); if (r < 0) return r; if (r > 0) - log_notice("(Note that IDNA translation is not applied when resolving raw record types. " + log_notice("(Note that IDNA translation is not applied when --type= is specified. " "Please specify translated domain names — i.e. '%s' — when resolving raw records, or remove --type= switch from invocation in order to request regular hostname resolution.", idnafied);