Solved nsupdate return unexpected error

Hi guys:

When I update DDNS using nsupdate(1), the named daemon logging following:

Code:
invalid command from xx.xx.xx.xx#port : out of range

Does any one knows what the "out of range" means?
 
Code:
else if (port < 1 || port > 65535) {
    fprintf(stderr, "port '%s' is out of range " 
             "(1 to 65535)\n", word);
    return (STATUS_SYNTAX);
}

Seems pretty obvious what it means.
 
Different error message though. But yeah, I'd definitely check if the port and IP address are correct.
 
Emm, i made a mistake that nsupdate sent message to port 953 which is used by rndc default...
 
Back
Top