Possible bug in `services.nfs.server.hostName`

Hi,

I was trying to use the services.nfs.server.hostName function with a hostname that either starts or ends with a number (9). but it doesn’t work well:

# nixos-rebuild test
building Nix...
building the system configuration...
stopping the following units: rpc-statd.service
activating the configuration...
setting up /etc...
reloading user units for egycobra...
setting up tmpfiles
starting the following units: rpc-statd.service
warning: the following units failed: nfs-server.service

× nfs-server.service - NFS server and services
     Loaded: loaded (/etc/systemd/system/nfs-server.service; enabled; preset: enabled)
    Drop-In: /nix/store/y8l5fzislbsh2lflz2ayqwydqqzbcxyq-system-units/nfs-server.service.d
             └─overrides.conf
     Active: failed (Result: exit-code) since Sun 2024-01-28 19:49:57 CET; 335ms ago
   Duration: 13min 12.723s
    Process: 87894 ExecStartPre=/nix/store/rr97kvv9jwgblbxqajc7s5g3aaqfv58y-nfs-utils-2.6.2/bin/exportfs -r (code=exited, status=0/SUCCESS)
    Process: 87898 ExecStartPre=/nix/store/zpmia4fpi76mwypgmxw6rwx61rh8n36i-unit-script-nfs-server-pre-start/bin/nfs-server-pre-start (code=exited, status=0/SUCCESS)
    Process: 87905 ExecStart=/nix/store/rr97kvv9jwgblbxqajc7s5g3aaqfv58y-nfs-utils-2.6.2/bin/rpc.nfsd (code=exited, status=1/FAILURE)
    Process: 87946 ExecStopPost=/nix/store/rr97kvv9jwgblbxqajc7s5g3aaqfv58y-nfs-utils-2.6.2/bin/exportfs -au (code=exited, status=0/SUCCESS)
    Process: 87970 ExecStopPost=/nix/store/rr97kvv9jwgblbxqajc7s5g3aaqfv58y-nfs-utils-2.6.2/bin/exportfs -f (code=exited, status=0/SUCCESS)
   Main PID: 87905 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
        CPU: 41ms

sty 28 19:49:56 S720 systemd[1]: Starting NFS server and services...
sty 28 19:49:57 S720 rpc.nfsd[87905]: rpc.nfsd: unable to resolve buk9:nfs: Name or service not known
sty 28 19:49:57 S720 rpc.nfsd[87905]: rpc.nfsd: unable to set any sockets for nfsd
sty 28 19:49:57 S720 systemd[1]: nfs-server.service: Main process exited, code=exited, status=1/FAILURE
sty 28 19:49:57 S720 systemd[1]: nfs-server.service: Failed with result 'exit-code'.
sty 28 19:49:57 S720 systemd[1]: Stopped NFS server and services.
warning: error(s) occurred while switching to the new configuration

Is anyone able to reproduce this bug?