Project

General

Profile

Feature #4025

PTR support in dnscmd provider

Added by Dominic Cleal over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DNS
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The dnscmd DNS provider for Windows doesn't support PTR records as it's hard to determine the appropriate zone. See https://github.com/theforeman/smart-proxy/pull/127/files#r8814653 for a bit more info.

Here's some code I didn't include in the merge as it was commented out:

+          # zone = nil
+          # msg = "Added reverse DNS entry #{@value} => #{@fqdn}" 
+          # data = @value.split(".")
+          # if data[3].eql?("10")
+          #   zone = "10.in-addr.arpa" 
+          # end
+          # return nil if zone.nil?
+          # cmd = "/RecordAdd #{zone} #{@value}. PTR #{@fqdn}." 
+          # execute(cmd, msg)
+          return true

Related issues

Related to Smart Proxy - Feature #3991: dnscmd provider for smart-proxy (Windows)Closed2014-01-10
Related to Smart Proxy - Bug #13536: DNS provider dnscmf: PTR's are currently noopClosed2016-02-03

History

#1 Updated by Dominic Cleal over 5 years ago

  • Related to Feature #3991: dnscmd provider for smart-proxy (Windows) added

#2 Updated by Oliver Weinmann over 4 years ago

Hi,

it seems that this is also a problem when provisioning SLES hosts. We switched from nsupdate to dnscmd since we use scavenging on windows dns server. When deploying a SLES host with dnscmd, the host has no hostname set. Using nsupdate this works fine. I guess it has something to do with the missing PTR record? Deploying CentOS with dnscmd works fine.

#3 Updated by Dmitri Dolguikh over 3 years ago

  • Related to Bug #13536: DNS provider dnscmf: PTR's are currently noop added

#4 Updated by Dmitri Dolguikh about 3 years ago

  • Status changed from New to Resolved

Has been resolved in http://projects.theforeman.org/issues/13536. Closing.

Also available in: Atom PDF