b58e57
Revert 3cd5103c1e1aaa59bd66f7f52f6ebbcd5deb12f9
b58e57
b58e57
diff --git a/servconf.c b/servconf.c
b58e57
index 475076bf2..318546290 100644
b58e57
--- a/servconf.c
b58e57
+++ b/servconf.c
b58e57
@@ -308,7 +308,7 @@ fill_default_server_options(ServerOptions *options)
b58e57
 	if (options->max_sessions == -1)
b58e57
 		options->max_sessions = DEFAULT_SESSIONS_MAX;
b58e57
 	if (options->use_dns == -1)
b58e57
-		options->use_dns = 0;
b58e57
+		options->use_dns = 1;
b58e57
 	if (options->client_alive_interval == -1)
b58e57
 		options->client_alive_interval = 0;
b58e57
 	if (options->client_alive_count_max == -1)
b58e57
diff --git a/sshd_config b/sshd_config
b58e57
index e9045bc4d..c9042ac3c 100644
b58e57
--- a/sshd_config
b58e57
+++ b/sshd_config
b58e57
@@ -112,7 +112,7 @@ UsePrivilegeSeparation sandbox		# Default for new installations.
b58e57
 #ClientAliveInterval 0
b58e57
 #ClientAliveCountMax 3
b58e57
 #ShowPatchLevel no
b58e57
-#UseDNS no
b58e57
+#UseDNS yes
b58e57
 #PidFile /var/run/sshd.pid
b58e57
 #MaxStartups 10:30:100
b58e57
 #PermitTunnel no
b58e57
diff --git a/sshd_config.5 b/sshd_config.5
b58e57
index 4fd93d68e..cf57c609f 100644
b58e57
--- a/sshd_config.5
b58e57
+++ b/sshd_config.5
b58e57
@@ -1379,10 +1379,12 @@ should look up the remote host name and check that
b58e57
 should look up the remote host name, and to check that
b58e57
 the resolved host name for the remote IP address maps back to the
b58e57
 very same IP address.
b58e57
+The default is
b58e57
+.Dq yes .
b58e57
 .Pp
b58e57
 If this option is set to
b58e57
 .Cm no
b58e57
-(the default) then only addresses and not host names may be used in
b58e57
+then only addresses and not host names may be used in
b58e57
 .Pa ~/.ssh/authorized_keys
b58e57
 .Cm from
b58e57
 and