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

Fix: add section to troubleshoot Avahi and mDNS #771

Merged
merged 3 commits into from
Sep 21, 2020
Merged

Commits on Sep 15, 2020

  1. Configuration menu
    Copy the full SHA
    72dfa84 View commit details
    Browse the repository at this point in the history
  2. Docs: add mdns.allow to troubleshooting section

    I was resolution problems with Avahi on an openSUSE 15.2 host trying to
    resolve a sumaform'ed Uyuni server:
    
    ```
    opensuse # avahi-resolve -n uyuni.tf.local
    uyuni.tf.local 192.168.122.154
    ping: uyuni.tf.local: Name or service not known
    PING 192.168.122.154 (192.168.122.154) 56(84) bytes of data.
    64 bytes from 192.168.122.154: icmp_seq=1 ttl=64 time=0.245 ms
    ```
    
    The problem disappears when I change Avahi configuration in the Uyuni
    host to use the first-level domain `local` (instead of `tf.local`).
    
    Turns out that in the newest version of `nss-mdns` (shipping with
    OpenSUSE 15.2), second-level `.local` domains must be explicitly allowed
    to be resolved in `/etc/mdns.allow` AND `mdns` (not `mdns_minimal`) must
    be used in `nsswitch.conf`.
    The latter is already covered in the troubleshooting, I took care of
    adding the former information into the docs.
    
    Upstream issue: avahi/nss-mdns#64
    Upstream resolution (linked in sumaform docs):
    https://github.com/lathiat/nss-mdns/blob/master/README.md#etcmdnsallow
    mbologna committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    af975ab View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2020

  1. Fix: post PR review fixes

    mbologna committed Sep 17, 2020
    Configuration menu
    Copy the full SHA
    ae875ec View commit details
    Browse the repository at this point in the history