openssh-portable icon indicating copy to clipboard operation
openssh-portable copied to clipboard

ssh: suppress warning on identical names

Open eworm-de opened this issue 1 year ago • 1 comments

Running systemd-resolved on a linux host some synthetic records [0] are available, for example _gateway for all current default routing gateway addresses. Connecting to that name gives an error message:

ignoring bad CNAME "_gateway" for host "_gateway": domain name "_gateway" starts with invalid character

Let's suppress the message if cononical name and cname are identical.

[0] https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html#Synthetic%20Records

eworm-de avatar Apr 04 '23 12:04 eworm-de

Not quite sure this is the best and/or correct way to fix this. What exactly was the motivation for this error message?

eworm-de avatar Apr 05 '23 11:04 eworm-de