!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

884 Members
Declaratively manage your switching, routing, wireless, tunneling and more. | Don't rely on `networking.*` for interface and routing setup, use systemd-networkd, ifstate or NetworkManager instead. | Set `SYSTEMD_LOG_LEVEL=debug` to debug networking issues with networkd | No bad nft puns, please. | Room recommendations: #sysops:nixos.org256 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
7 Sep 2025
@kraem:ne.bul.aekraem
passwd:    files systemd
group:     files [success=merge] systemd
shadow:    files systemd
sudoers:   files

hosts:     mymachines files myhostname dns
networks:  files

ethers:    files
services:  files
protocols: files
rpc:       files
08:01:37
@sleepymonad:matrix.orgsleepymonad changed their profile picture.09:12:54
@kraem:ne.bul.aekraem ok so i think i solved it:
  1. sudo ip netns exec wg strace -e trace=network python3 -c "import socket; socket.getaddrinfo('dn.se', 80)" -> connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) -> it was using my hosts nscd

- temporarliy moved the nscd/socket file (long term i should mask it in the service netns)
  1. spun up a dnsmasq in the netns which uses the upstream resolver i want

  2. bindmounted /etc/resolv.conf with nameserver 127.0.0.1 (where dnsmasq is listening in the netns)

09:24:46
@kraem:ne.bul.aekraem ok so i think i solved it:
  1. sudo ip netns exec wg strace -e trace=network python3 -c "import socket; socket.getaddrinfo('dn.se', 80)" -> connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) -> it was using my hosts nscd

- temporarliy moved the nscd/socket file (long term i should mask it in the service netns)
  1. spun up a dnsmasq in the netns which uses the upstream resolver i want

  2. bindmounted /etc/resolv.conf with nameserver 127.0.0.1 (where dnsmasq is listening in the netns)

09:25:04
8 Sep 2025
@inayet:matrix.orgInayet set a profile picture.02:15:51
9 Sep 2025
@aciceri:nixos.devaciceri changed their display name from zrsk to aciceri.15:02:08
@albertlarsan68:albertlarsan.frAlbert Larsan joined the room.19:55:37
10 Sep 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (@nixcon & back on matrix) to SomeoneSerge (back on matrix).00:35:26
@nerves:bark.lgbt@nerves:bark.lgbt left the room.12:31:25
@frederic:scs.ems.hostFrédéric Christ changed their display name from Frédéric Christ to Frédéric Christ (🚄 15.09. - 29.09.).13:46:19
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem changed their display name from matthewcroughan @ nixcon to matthewcroughan.15:04:27
11 Sep 2025
@adam:robins.wtfadamcstephens systemctl service-log-level systemd-networkd.service debug . TIL 02:19:53
@ghostbuster91:matrix.orgghostbuster91hi folks, I am using mesh vpn with headscale, adguard DNS and avahi mDNS. How do I now make mDNS addresses available to the vpn network? GPT told me that I need to propagate have something that will answer DNS queries and respond with mDNS entries. Can I do this with adguard or do I need something else? What would you recommend in this case?15:31:02
@k900:0upti.meK900Uhhh what15:31:16
@k900:0upti.meK900Do you want to do mDNS over Tailscale?15:31:23

Show newer messages


Back to Room ListRoom Version: 6