Comment 3 for bug 1638836

Revision history for this message
Martin Pitt (pitti) wrote :

Right, the comment would need to be conditional. My original naïve approach was to add the comment together with the nameserver, such as

printf "# Run systemd-resolve --status blabla\nnameserver 127.0.0.53\n" | /sbin/resolvconf -a systemd-resolved

so that the comment would only be there when appropriate and would also be at the appropriate line.

manpage> Not sure if that really helps -- this would also have to contain a lot of "if"s, like "if you have resolved/unbound/NM's dnsmasq/etc." and document all of these cases, which is both confusing and also prone to get out of sync with their respective upstreams.

(FTR, there is nothing Ubuntu specific here, it's the same in Debian and any other Linux)