Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable synthesized hostname in systemd-resolved #3451

Merged

Commits on Sep 13, 2023

  1. release: disable synthesized hostname

    Otherwise, the reverse lookup in `netdog` will return "linux" if no
    other name can be resolved by DNS. This causes problems when trying
    to join several nodes to a Kubernetes cluster, since they all attempt
    to register as "linux".
    
    The expected (historical) behavior is that the system hostname winds
    up as the primary interface's IP address in this case. This is not
    ideal and causes other headaches: for example, the short name of the
    host is the first part of the IP in dotted decimal notation. But in
    the absence of a setting or reverse DNS, it's at least a potentially
    predictable and unique identifier.
    
    Signed-off-by: Ben Cressey <[email protected]>
    bcressey committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    173579b View commit details
    Browse the repository at this point in the history