diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/api/RegistryConstants.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/api/RegistryConstants.java index cfa2d65e631..19661b043b1 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/api/RegistryConstants.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/api/RegistryConstants.java @@ -95,7 +95,7 @@ /** * Default DNS port number. */ - int DEFAULT_DNS_PORT = 5353; + int DEFAULT_DNS_PORT = 5300; /** * DNSSEC Enabled? diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/RegistryDNS.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/RegistryDNS.md index 2307e5ca614..3f237eb6404 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/RegistryDNS.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/RegistryDNS.md @@ -58,7 +58,7 @@ primary DNS server can be configured to forward a zone to the registry DNS server. 2. The DNS Server exposes a port that can receive both TCP and UDP requests per DNS standards. The default port for DNS protocols is not in the restricted -range (5353). However, existing DNS assets may only allow zone forwarding to +range (5300). However, existing DNS assets may only allow zone forwarding to non-custom ports. To support this, the registry DNS server can be started in privileged mode. @@ -136,7 +136,7 @@ standard DNS requests from users or other DNS servers (for example, DNS servers RegistryDNS service configured as a forwarder). ## Start the DNS Server -By default, the DNS server runs on non-privileged port `5353`. Start the server +By default, the DNS server runs on non-privileged port `5300`. Start the server with: ``` yarn --daemon start registrydns @@ -157,7 +157,7 @@ The Registry DNS server reads its configuration properties from the yarn-site.xm | hadoop.registry.dns.enabled | The DNS functionality is enabled for the cluster. Default is false. | | hadoop.registry.dns.domain-name | The domain name for Hadoop cluster associated records. | | hadoop.registry.dns.bind-address | Address associated with the network interface to which the DNS listener should bind. | -| hadoop.registry.dns.bind-port | The port number for the DNS listener. The default port is 5353. | +| hadoop.registry.dns.bind-port | The port number for the DNS listener. The default port is 5300. | | hadoop.registry.dns.dnssec.enabled | Indicates whether the DNSSEC support is enabled. Default is false. | | hadoop.registry.dns.public-key | The base64 representation of the server’s public key. Leveraged for creating the DNSKEY Record provided for DNSSEC client requests. | | hadoop.registry.dns.private-key-file | The path to the standard DNSSEC private key file. Must only be readable by the DNS launching identity. See [dnssec-keygen](https://ftp.isc.org/isc/bind/cur/9.9/doc/arm/man.dnssec-keygen.html) documentation. | @@ -174,10 +174,10 @@ The Registry DNS server reads its configuration properties from the yarn-site.xm - The port number for the DNS listener. The default port is 5353. + The port number for the DNS listener. The default port is 5300. If the standard privileged port 53 is used, make sure start the DNS with jsvc support. hadoop.registry.dns.bind-port - 5353 + 5300 @@ -197,4 +197,4 @@ The Registry DNS server reads its configuration properties from the yarn-site.xm hadoop.registry.zk.quorum localhost:2181 - ``` \ No newline at end of file + ``` diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/ServiceDiscovery.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/ServiceDiscovery.md index f351e23e017..c28924a6f23 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/ServiceDiscovery.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/ServiceDiscovery.md @@ -82,10 +82,10 @@ section of [Registry DNS](RegistryDNS.html). - The port number for the DNS listener. The default port is 5353. + The port number for the DNS listener. The default port is 5300. If the standard privileged port 53 is used, make sure start the DNS with jsvc support. hadoop.registry.dns.bind-port - 5353 + 5300 @@ -123,7 +123,7 @@ To configure Registry DNS to serve reverse lookup for `172.17.0.0/24` ``` ## Start Registry DNS Server -By default, the DNS server runs on non-privileged port `5353`. Start the server +By default, the DNS server runs on non-privileged port `5300`. Start the server with: ``` yarn --daemon start registrydns @@ -140,4 +140,4 @@ You can edit the `/etc/resolv.conf` to make your system use the registry DNS suc ``` nameserver 192.168.154.3 ``` -Alternatively, if you have a corporate DNS in your organization, you can configure zone forwarding so that the Registry DNS resolves hostnames for the domain used by the cluster. \ No newline at end of file +Alternatively, if you have a corporate DNS in your organization, you can configure zone forwarding so that the Registry DNS resolves hostnames for the domain used by the cluster.