diff --git a/openssh/files/sshd_config b/openssh/files/sshd_config index 2ebe63f..a3756bc 100644 --- a/openssh/files/sshd_config +++ b/openssh/files/sshd_config @@ -125,6 +125,9 @@ # and ChallengeResponseAuthentication to 'no'. {{ option_default_uncommented('UsePAM', 'yes') }} +# DNS resolve and map remote IP addresses +{{ option('UseDNS', 'yes') }} + {# Handling unknown in salt template options #} {%- for keyword, argument in sshd_config.iteritems() %} {%- if not keyword in processed_options -%} diff --git a/pillar.example b/pillar.example index 1e46152..4edbbd3 100644 --- a/pillar.example +++ b/pillar.example @@ -29,6 +29,7 @@ sshd_config: AcceptEnv: "LANG LC_*" Subsystem: "sftp /usr/lib/openssh/sftp-server" UsePAM: 'yes' + UseDNS: 'yes' openssh: auth: