!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

900 Members
Declaratively manage your switching, routing, wireless, tunneling and more.261 Servers

Load older messages


SenderMessageTime
8 Jul 2025
@charles:computer.surgeryCharleshmm, do android and ios do mdns20:33:02
@k900:0upti.meK900 I think so 20:34:06
@charles:computer.surgeryCharlesneat20:34:31
@zhaofeng:zhaofeng.liZhaofeng LiI think apple is the one who made mdns "mainstream" in the first place20:34:52
@marie:marie.cologneMarieeven windows does mdns nowadays20:35:26
@zhaofeng:zhaofeng.liZhaofeng Li on the flip side, apple is bad at providing options that are not dependent on mdns 🙃 20:35:52
@charles:computer.surgeryCharlesso do i have to set up avahi20:36:10
@hexa:lossy.networkhexa"bonjour" 👋20:37:59
@hexa:lossy.networkhexaaka "zeroconf"20:38:10
@hexa:lossy.networkhexa* aka "zeroconf" 0️⃣20:38:17
@charles:computer.surgeryCharles

reverting the changes to networkmanager and systemd-resolved and adding

services.avahi = {
  enable = true;
  publish.enable = true;
  publish.domain = true;
  nssmdns4 = true;
};

works :/

20:47:42
@zhaofeng:zhaofeng.liZhaofeng Lijust for resolving I don't think avahi is required, publishing yes20:48:51
@charles:computer.surgeryCharleshttps://www.freedesktop.org/software/systemd/man/latest/resolved.conf.html#MulticastDNS=20:50:31
@charles:computer.surgeryCharlessystemd is supposed to be able to do it, it seems20:50:38
@zhaofeng:zhaofeng.liZhaofeng Li

Multicast DNS responder and resolver

huh interesting, so it can publish too

20:51:18
@charles:computer.surgeryCharleswell, it says it can, but i can't get it to work20:51:50
@zhaofeng:zhaofeng.liZhaofeng Li there is resolvectl mdns but it's not very helpful apart from saying "yes" 20:54:23
@charles:computer.surgeryCharlesindeed20:54:32
@zhaofeng:zhaofeng.liZhaofeng Li maybe you need the whole SYSTEMD_LOG_LEVEL=debug shebang again 20:54:55
@zhaofeng:zhaofeng.liZhaofeng Lifor the networking stuff, trying to get systemd to tell you anything useful via the CLIs is usually futile 🫠20:56:25
@charles:computer.surgeryCharles actually it seems like services.avahi.enable = true; is sufficient 20:57:13
@charles:computer.surgeryCharles(i did not read the docs that hard)20:57:21
@charles:computer.surgeryCharlesoh or maybe it isn't21:00:39
@zhaofeng:zhaofeng.liZhaofeng Litheoretically avahi shouldn't even be needed it seems, but alas for my use case CUPS doesn't seem to work with resolved for publishing21:00:40
@zhaofeng:zhaofeng.liZhaofeng Li

The story is always like:

Me: networkctl reconfigure
networkctl: Success 🥰
Me: but it does nothing? networkctl status
networkctl: configured 👌

21:02:54
@hexa:lossy.networkhexaso, I'm sorry to say21:58:02
@hexa:lossy.networkhexadhcp servers are as boring as they come once they work21:58:10
@hexa:lossy.networkhexawhich means I might need help updating the kea suite, which has been stuck on a vulnerable version for a month21:58:26
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/41187521:58:39
@zhaofeng:zhaofeng.liZhaofeng Liis it okay to move to 3.0 directly (IIRC there isn't a separate control server anymore)?22:21:29

Show newer messages


Back to Room ListRoom Version: 6