summaryrefslogtreecommitdiff
path: root/doc/forum/DNS_for_LAN/comment_2_bd310b1f5865a2d35502721e138ca091._comment
blob: 4af921f4eb922d992c369b62c49d564216d4a319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[!comment format=mdwn
 username="david"
 avatar="http://cdn.libravatar.org/avatar/22c2d800db6a7699139df604a67cb221"
 subject="network-manager snippet"
 date="2020-06-11T10:25:10Z"
 content="""
[[!format haskell \"\"\"
File.hasContent \"/etc/NetworkManager/conf.d/mDNS.conf\"  [ \"[connection]\"
                                                                    , \"connection.mdns=2\"
                                                                    ]
          `requires` File.dirExists \"/etc/NetworkManager/conf.d\"
\"\"\"]]

The `=2` is important if you want the host to actually tell other hosts what it's IP is, and not just query,
"""]]