Project

General

Profile

Actions

Bug #13421

closed

[smart-proxy] provider dnscmd: create record in sub domain broken - DNS_ERROR_ZONE_DOES_NOT_EXIST

Added by Daniel Helgenberger over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
DNS
Target version:
Fixed in Releases:
Found in Releases:

Description

The usage of dnscmd is in the provider, it fails when adding a record to a sub domain. Here, always the top domain has to be used.

D, [2016-01-27T22:24:01.492667 #1508] DEBUG -- : executing: c:\windows\system32\cmd.exe /c c:\Windows\System32\dnscmd.exe localhost /RecordAdd sec.domain.com testdns2.domain.com. A 192.168.0.11
E, [2016-01-27T22:24:01.523888 #1508] ERROR -- : Dnscmd failed:

Command failed:  DNS_ERROR_ZONE_DOES_NOT_EXIST     9601    0x2581

E, [2016-01-27T22:24:01.523888 #1508] ERROR -- : Failed to add DNS entry testdns2.sec.domain.com => 192.168.0.11
D, [2016-01-27T22:24:01.523888 #1508] DEBUG -- : C:/TheForeman/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:94:in `report'
C:/TheForeman/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:85:in `execute'

while the correct command should be:

c:\windows\system32\cmd.exe /c c:\Windows\System32\dnscmd.exe localhost /RecordAdd doimain.com testdns2.sec.domain.com. A 192.168.0.10

Since we can never determine the top scope domain correctly, I can only think of this as a setting in dns.yaml

Actions

Also available in: Atom PDF