[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kolev: nsd: error: can't bind udp socket


Hi,

Following
https://wiki.ircnow.org/index.php?n=Nsd.Configure

Instructions did not say to replace IP addresses with the host's IP
addresses, but I did.  It also said nothing about changing the serial
number, which I did each time I edited and restarted nsd.

/var/nsd/zones/master/kolev.host.oddprotocol.org:
$ORIGIN kolev.host.oddprotocol.org.
example.com.     3600   SOA   ns1.kolev.host.oddprotocol.org.
admin.kolev.host.oddprotocol.org. (
                            2025062602   ; serial YYYYMMDDnn
                            1800        ; refresh
                            3600         ; retry
                            86400       ; expire
                            3600 )      ; minimum TTL
        3600    IN      MX      10 mail
        3600    IN      A       104.167.242.174
        3600    IN      AAAA    2602:fccf:1:2174::
        3600    IN      NS      ns1
        3600    IN      NS      ns2
ns1     3600    IN      A       104.167.242.174
        3600    IN      AAAA    2602:fccf:1:2174::
ns2     3600    IN      A       104.167.242.174
        3600    IN      AAAA    2602:fccf:1:2174::
www     3600    IN      A       104.167.242.174
        3600    IN      AAAA    2602:fccf:1:2174::
irc     3600    IN      A       104.167.242.174
        3600    IN      AAAA    2602:fccf:1:2174::
imap    3600    IN      A       104.167.242.174
        3600    IN      AAAA    2602:fccf:1:2174::
smtp    3600    IN      A       104.167.242.174
        3600    IN      AAAA    2602:fccf:1:2174::
mail    3600    IN      A       104.167.242.174
        3600    IN      AAAA    2602:fccf:1:2174::
EOF

/var/log/nsd.log:                                                     
[2025-06-25 20:45:05.166] nsd[91548]: error: server initialization
failed, nsd could not be started
[2025-06-25 20:48:13.784] nsd[64784]: notice: nsd starting (NSD 4.9.1)
[2025-06-25 20:48:13.784] nsd[64784]: error: can't bind udp socket
192.0.2.53@53: Can't assign requested address
[2025-06-25 20:48:13.784] nsd[64784]: error: server initialization
failed, nsd could not be started
[2025-06-26 14:40:28.321] nsd[14300]: notice: nsd starting (NSD 4.9.1)
[2025-06-26 14:40:28.321] nsd[14300]: error: can't bind udp socket
192.0.2.53@53: Can't assign requested address
[2025-06-26 14:40:28.322] nsd[14300]: error: server initialization
failed, nsd could not be started
[2025-06-26 14:48:34.110] nsd[6961]: notice: nsd starting (NSD 4.9.1)
[2025-06-26 14:48:34.110] nsd[6961]: error: can't bind udp socket
192.0.2.53@53: Can't assign requested address
[2025-06-26 14:48:34.110] nsd[6961]: error: server initialization
failed, nsd could not be started
EOF

Best regards,

-- 
Caleb Herbert
https://calebh.top/