Actions
Feature #4025
closedPTR support in dnscmd provider
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DNS
Target version:
-
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
Actions