AW: Problem resolving name.

Walkenhorst, Benjamin Benjamin.Walkenhorst at telekom.de
Fri Dec 10 12:09:04 UTC 2004


Hello,

> Do someone know for what a random udp port is used? AFAIK my named
> process is running with rndc control port (953) and 
> 53(tcp/udp), except
> for this random port that changes each time I restart named.

The random port is for sending packets to other nameservers.
To quote the BINDv9 ARM:
##########################################
If the server doesn't know the answer to a question, it will query other name servers. query-source specifies the address and port used for such queries. For queries sent over IPv6, there is a separate query-source-v6 option. If address is * or is omitted, a wildcard IP address (INADDR_ANY) will be used. If port is * or is omitted, a random unprivileged port will be used. The defaults are

query-source address * port *;
query-source-v6 address * port *

    Note: The address specified in the query-source option is used for both UDP and TCP queries, but the port applies only to UDP queries. TCP queries always use a random unprivileged port.
##########################################

Kind regards,
Benjamin



More information about the bind-users mailing list