From 970777b9bb1ce2d43bf8a72b5892cce9d9181e83 Mon Sep 17 00:00:00 2001 From: Wes Turner Date: Tue, 22 Jul 2014 00:35:11 -0500 Subject: [PATCH 1/2] Add a UseDNS option to sshd_config --- openssh/files/sshd_config | 3 +++ 1 file changed, 3 insertions(+) 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 -%} From 44946b414223105aca412f5349f7c581709c3cc5 Mon Sep 17 00:00:00 2001 From: Wes Turner Date: Tue, 22 Jul 2014 00:37:41 -0500 Subject: [PATCH 2/2] Add a UseDNS option to pillar.example --- pillar.example | 1 + 1 file changed, 1 insertion(+) 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: