eyJhb changed the topic of #nixos-on-your-router to: NixOS on your Router || https://logs.nix.samueldr.com/nixos-on-your-router
<gchristensen> any ideas on this mystery?
<gchristensen> [root@lord-nibbler:~]# sudo ss -lp "sport = :domain"
<gchristensen> Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
<gchristensen> [root@lord-nibbler:~]# sudo ss -lp "sport = :domain" -6
<gchristensen> Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
<gchristensen> but systemd[22546]: kresd.socket: Failed to create listening socket ([::]:53): Address already in use
<hexa-> Hm, I'm unfamiliar with the matching syntax
<hexa-> does ss -lpn | grep 53 yield anything?
<gchristensen> [root@lord-nibbler:~]# ss -lpn | grep 53
<gchristensen> udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:(("avahi-daemon",pid=952,fd=11))
<gchristensen> udp UNCONN 0 0 [::ffff:10.54.54.1]:52243 *:* users:(("java",pid=1413,fd=153))
<hexa-> Ok, weird
<hexa-> Can you try to bind 53 via nc?
<hexa-> nc -l -u -p 53 iirc
<gchristensen> nice question
<gchristensen> yes
<gchristensen> and for some terrifying reason, I have a system looking up baidu.com [root@lord-nibbler:~]# nc -l -u 53
<gchristensen> �wwwgooglecom�wwwgooglecom�wwwgooglecom�wwwgooglecomwwwbaiducomwwwbaiducomwwwbaiducomwwwbaiducom
<hexa-> ok, that's weird then
<hexa-> I'm unfortunately not too familiar with kresd
<gchristensen> I guess I'll try listening on all of these at once
<hexa-> eh yeah, that's not going to work
<gchristensen> it is strange, it used to work. I wonder if a change was backported to 19.09
<hexa-> so "[::]" is an ipv6 wildcard,
<hexa-> and it's dualstack if net.ipv6.bindv6only=0
<hexa-> if the application doesn't fck it up :)
<hexa-> so you need to decide whether to do a wildcard bind or bind to specific ips
<gchristensen> yeah
<gchristensen> thanks, hexa-
<gchristensen> makes sense
<hexa-> yw
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos-on-your-router
<andi-> kresd in newer versions did drop the socket activation support. Likely that was ported to 19.09 as part of security updates...
Dandellion has joined #nixos-on-your-router