Problem:
After some upgrades from Foreman (and Proxies) from version 2.0 to 3.2 the Windows DNS proxy (I am using dns_dnscmd
provider) does not work correctly anymore. It looks like it is able to create A and PTR records when provisioning VMs, but not when it is about the deletion. At least the A record stays there and Foreman provides an error message.
Expected outcome: Smart proxy should be able to delete the DNS entries.
Foreman and Proxy versions: 3.2
Foreman and Proxy plugin versions: 3.2
Distribution and version: Ubuntu 20.04 LTS Foreman server / Windows Server Datacenter 2019 Foreman proxy
Other relevant data:
The legacy ui
in Foreman tells this error while trying to delete:
Remove Reverse IPv4 DNS record for fraitvm998.DOMAIN.com task failed with the following error: ERF12-1261 [ProxyAPI::ProxyException]: Unable to delete DNS entry ([RestClient::BadRequest]: 400 Bad Request) for proxy https://foreman-proxy.DOMAIN.com:8443/dns
In the new UI btw I didn’t find an error message like this. Just a short version that didn’t help.
It just tells Request failed with status code 422
.
The Windows smart proxy logs are telling:
2022-11-02T16:44:50 [D] accept: 10.10.2.118:45770
2022-11-02T16:44:50 [D] Rack::Handler::WEBrick is invoked.
2022-11-02T16:44:51 e0b2e1ff [I] Started DELETE /dns/fraitvm998.ad1.DOMAIN.com/A
2022-11-02T16:44:51 e0b2e1ff [D] verifying remote client 10.10.2.118 against trusted_hosts ["rmvm069.ad1.DOMAIN.com"]
2022-11-02T16:44:51 e0b2e1ff [D] executing: ["c:\\Windows\\System32\\dnscmd.exe", "localhost", "/EnumZones"]
2022-11-02T16:44:52 e0b2e1ff [D] Enumerated authoritative dns zones: ["_msdcs.ad1.DOMAIN.com", "0.0.1.8.e.7.9.3.0.8.a.1.1.0.0.2.ip6.arpa", "0.7.0.0.1.0.4.0.8.7.d.4.1.0.0.2.ip6.arpa", "0.7.0.0.2.0.0.1.0.f.6.f.7.0.6.2.ip6.arpa", "1.0.0.0.1.0.4.0.8.7.d.4.1.0.0.2.ip6.arpa", "1.0.0.0.2.0.0.1.0.f.6.f.7.0.6.2.ip6.arpa", "1.25.172.in-addr.arpa", "10.10.in-addr.arpa", "30.10.in-addr.arpa", "40.10.in-addr.arpa", "6.6.0.0.1.0.4.0.8.7.d.4.1.0.0.2.ip6.arpa", "6.6.0.0.2.0.0.1.0.f.6.f.7.0.6.2.ip6.arpa", "65.21.172.in-addr.arpa", "65.22.172.in-addr.arpa", "66.21.172.in-addr.arpa", "66.22.172.in-addr.arpa", "67.21.172.in-addr.arpa", "68.21.172.in-addr.arpa", "69.21.172.in-addr.arpa", "70.21.172.in-addr.arpa", "70.22.172.in-addr.arpa", "71.21.172.in-addr.arpa", "72.21.172.in-addr.arpa", "72.22.172.in-addr.arpa", "ad1.DOMAIN.com", "psp.ad1.DOMAIN.com", "TrustAnchors"]
2022-11-02T16:44:52 e0b2e1ff [D] executing: ["c:\\Windows\\System32\\dnscmd.exe", "localhost", "/EnumRecords", "ad1.DOMAIN.com", "fraitvm998.ad1.DOMAIN.com.", "/Type", "A"]
2022-11-02T16:44:52 e0b2e1ff [D] Extracting record from dnscmd output ''
2022-11-02T16:44:52 e0b2e1ff [D] No DNS record found in this line
2022-11-02T16:44:52 e0b2e1ff [D] Extracting record from dnscmd output 'Returned records:'
2022-11-02T16:44:52 e0b2e1ff [D] No DNS record found in this line
2022-11-02T16:44:52 e0b2e1ff [D] Extracting record from dnscmd output '@ 3600 A 172.21.65.98'
2022-11-02T16:44:52 e0b2e1ff [D] Found record '172.21.65.98'
2022-11-02T16:44:52 e0b2e1ff [D] Extracting record from dnscmd output ''
2022-11-02T16:44:52 e0b2e1ff [D] No DNS record found in this line
2022-11-02T16:44:52 e0b2e1ff [D] Extracting record from dnscmd output 'Command completed successfully.'
2022-11-02T16:44:52 e0b2e1ff [D] No DNS record found in this line
2022-11-02T16:44:52 e0b2e1ff [D] Extracting record from dnscmd output ''
2022-11-02T16:44:52 e0b2e1ff [D] No DNS record found in this line
2022-11-02T16:44:52 e0b2e1ff [D] Enumerated 1 A records for zone=ad1.DOMAIN.com node=fraitvm998.ad1.DOMAIN.com records=["172.21.65.98"]
2022-11-02T16:44:52 e0b2e1ff [D] executing: ["c:\\Windows\\System32\\dnscmd.exe", "localhost", "/RecordDelete", "ad1.DOMAIN.com", "fraitvm998.ad1.DOMAIN.com.", "A", "172.21.65.98", "/f"]
2022-11-02T16:44:52 e0b2e1ff [D] Removed 172.21.65.98 A record fraitvm998.ad1.DOMAIN.com from ad1.DOMAIN.com
2022-11-02T16:44:52 e0b2e1ff [I] Finished DELETE /dns/fraitvm998.ad1.DOMAIN.com/A with 200 (1650.55 ms)
2022-11-02T16:44:52 [D] accept: 10.10.2.118:45782
2022-11-02T16:44:52 [D] close: 10.10.2.118:45770
2022-11-02T16:44:52 [D] Rack::Handler::WEBrick is invoked.
2022-11-02T16:44:52 e0b2e1ff [I] Started DELETE /dns/98.65.21.172.in-addr.arpa
2022-11-02T16:44:52 e0b2e1ff [D] verifying remote client 10.10.2.118 against trusted_hosts ["rmvm069.ad1.DOMAIN.com"]
2022-11-02T16:44:52 e0b2e1ff [D] executing: ["c:\\Windows\\System32\\dnscmd.exe", "localhost", "/EnumZones"]
2022-11-02T16:44:53 e0b2e1ff [D] Enumerated authoritative dns zones: ["_msdcs.ad1.DOMAIN.com", "0.0.1.8.e.7.9.3.0.8.a.1.1.0.0.2.ip6.arpa", "0.7.0.0.1.0.4.0.8.7.d.4.1.0.0.2.ip6.arpa", "0.7.0.0.2.0.0.1.0.f.6.f.7.0.6.2.ip6.arpa", "1.0.0.0.1.0.4.0.8.7.d.4.1.0.0.2.ip6.arpa", "1.0.0.0.2.0.0.1.0.f.6.f.7.0.6.2.ip6.arpa", "1.25.172.in-addr.arpa", "10.10.in-addr.arpa", "30.10.in-addr.arpa", "40.10.in-addr.arpa", "6.6.0.0.1.0.4.0.8.7.d.4.1.0.0.2.ip6.arpa", "6.6.0.0.2.0.0.1.0.f.6.f.7.0.6.2.ip6.arpa", "65.21.172.in-addr.arpa", "65.22.172.in-addr.arpa", "66.21.172.in-addr.arpa", "66.22.172.in-addr.arpa", "67.21.172.in-addr.arpa", "68.21.172.in-addr.arpa", "69.21.172.in-addr.arpa", "70.21.172.in-addr.arpa", "70.22.172.in-addr.arpa", "71.21.172.in-addr.arpa", "72.21.172.in-addr.arpa", "72.22.172.in-addr.arpa", "ad1.DOMAIN.com", "psp.ad1.DOMAIN.com", "TrustAnchors"]
2022-11-02T16:44:53 e0b2e1ff [D] executing: ["c:\\Windows\\System32\\dnscmd.exe", "localhost", "/EnumRecords", "65.21.172.in-addr.arpa", "98.65.21.172.in-addr.arpa.", "/Type", "PTR"]
2022-11-02T16:44:53 e0b2e1ff [E] Command dnscmd failed:
DNS Server failed to enumerate records for node 98.65.21.172.in-addr.arpa..
Status = 9714 (0x000025f2)
Command failed: DNS_ERROR_NAME_DOES_NOT_EXIST 9714 0x25F2
2022-11-02T16:44:53 e0b2e1ff [E] Command dnscmd failed:
DNS Server failed to enumerate records for node 98.65.21.172.in-addr.arpa..
Status = 9714 (0x000025f2)
Command failed: DNS_ERROR_NAME_DOES_NOT_EXIST 9714 0x25F2
2022-11-02T16:44:53 e0b2e1ff [E] Unknown error while processing ''
2022-11-02T16:44:53 e0b2e1ff [W] Error details for Unknown error while processing '': <Proxy::Dns::Error>: Unknown error while processing ''
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:76:in `rescue in report'
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:57:in `report'
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:53:in `execute'
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:111:in `enum_records'
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:28:in `do_remove'
C:/Program Files/smart-proxy/modules/dns_common/dns_common.rb:95:in `remove_ptr_record'
C:/Program Files/smart-proxy/modules/dns/dns_api.rb:68:in `block in <class:Api>'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1684:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1684:in `block in compile!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1002:in `block (3 levels) in route!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1020:in `route_eval'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1002:in `block (2 levels) in route!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1051:in `block in process_route'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1049:in `catch'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1049:in `process_route'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1000:in `block in route!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:997:in `each'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:997:in `route!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1121:in `block in dispatch!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1092:in `catch'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1092:in `invoke'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1116:in `dispatch!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:932:in `block in call!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1092:in `catch'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1092:in `invoke'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:932:in `call!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:921:in `call'
C:/Program Files/smart-proxy/lib/proxy/log.rb:105:in `call'
C:/Program Files/smart-proxy/lib/proxy/request_id_middleware.rb:11:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/xss_header.rb:20:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/path_traversal.rb:18:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/json_csrf.rb:28:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/base.rb:53:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/base.rb:53:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/frame_options.rb:33:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/null_logger.rb:11:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/show_exceptions.rb:23:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:219:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1995:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1554:in `block in call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1770:in `synchronize'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1554:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/urlmap.rb:74:in `block in call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `each'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/builder.rb:244:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/handler/webrick.rb:95:in `service'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/webrick-1.7.0/lib/webrick/httpserver.rb:140:in `service'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/webrick-1.7.0/lib/webrick/httpserver.rb:96:in `run'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/webrick-1.7.0/lib/webrick/server.rb:310:in `block in start_thread'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2022-11-02T16:44:53 e0b2e1ff [W] Unknown error while processing '': <Proxy::Dns::Error>: Unknown error while processing ''
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:76:in `rescue in report'
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:57:in `report'
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:53:in `execute'
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:111:in `enum_records'
C:/Program Files/smart-proxy/modules/dns_dnscmd/dns_dnscmd_main.rb:28:in `do_remove'
C:/Program Files/smart-proxy/modules/dns_common/dns_common.rb:95:in `remove_ptr_record'
C:/Program Files/smart-proxy/modules/dns/dns_api.rb:68:in `block in <class:Api>'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1684:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1684:in `block in compile!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1002:in `block (3 levels) in route!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1020:in `route_eval'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1002:in `block (2 levels) in route!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1051:in `block in process_route'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1049:in `catch'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1049:in `process_route'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1000:in `block in route!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:997:in `each'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:997:in `route!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1121:in `block in dispatch!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1092:in `catch'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1092:in `invoke'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1116:in `dispatch!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:932:in `block in call!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1092:in `catch'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1092:in `invoke'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:932:in `call!'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:921:in `call'
C:/Program Files/smart-proxy/lib/proxy/log.rb:105:in `call'
C:/Program Files/smart-proxy/lib/proxy/request_id_middleware.rb:11:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/xss_header.rb:20:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/path_traversal.rb:18:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/json_csrf.rb:28:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/base.rb:53:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/base.rb:53:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-protection-3.0.2/lib/rack/protection/frame_options.rb:33:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/null_logger.rb:11:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/show_exceptions.rb:23:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:219:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1995:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1554:in `block in call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1770:in `synchronize'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sinatra-3.0.2/lib/sinatra/base.rb:1554:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/urlmap.rb:74:in `block in call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `each'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/builder.rb:244:in `call'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.4/lib/rack/handler/webrick.rb:95:in `service'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/webrick-1.7.0/lib/webrick/httpserver.rb:140:in `service'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/webrick-1.7.0/lib/webrick/httpserver.rb:96:in `run'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/webrick-1.7.0/lib/webrick/server.rb:310:in `block in start_thread'
C:/Program Files/Ruby26-x64/lib/ruby/gems/2.6.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2022-11-02T16:44:53 e0b2e1ff [I] Finished DELETE /dns/98.65.21.172.in-addr.arpa with 400 (452.82 ms)
2022-11-02T16:44:53 [D] close: 10.10.2.118:45782
2022-11-02T16:44:53 [D] accept: 10.10.2.118:45792
2022-11-02T16:44:53 [D] Rack::Handler::WEBrick is invoked.
2022-11-02T16:44:53 e0b2e1ff [I] Started POST /dns/
2022-11-02T16:44:53 e0b2e1ff [D] verifying remote client 10.10.2.118 against trusted_hosts ["rmvm069.ad1.DOMAIN.com"]
2022-11-02T16:44:54 e0b2e1ff [D] Finished DNS query getresources for 'fraitvm998.ad1.DOMAIN.com' in 404.9 ms
2022-11-02T16:44:54 e0b2e1ff [D] executing: ["c:\\Windows\\System32\\dnscmd.exe", "localhost", "/EnumZones"]
2022-11-02T16:44:56 e0b2e1ff [D] Enumerated authoritative dns zones: ["_msdcs.ad1.DOMAIN.com", "0.0.1.8.e.7.9.3.0.8.a.1.1.0.0.2.ip6.arpa", "0.7.0.0.1.0.4.0.8.7.d.4.1.0.0.2.ip6.arpa", "0.7.0.0.2.0.0.1.0.f.6.f.7.0.6.2.ip6.arpa", "1.0.0.0.1.0.4.0.8.7.d.4.1.0.0.2.ip6.arpa", "1.0.0.0.2.0.0.1.0.f.6.f.7.0.6.2.ip6.arpa", "1.25.172.in-addr.arpa", "10.10.in-addr.arpa", "30.10.in-addr.arpa", "40.10.in-addr.arpa", "6.6.0.0.1.0.4.0.8.7.d.4.1.0.0.2.ip6.arpa", "6.6.0.0.2.0.0.1.0.f.6.f.7.0.6.2.ip6.arpa", "65.21.172.in-addr.arpa", "65.22.172.in-addr.arpa", "66.21.172.in-addr.arpa", "66.22.172.in-addr.arpa", "67.21.172.in-addr.arpa", "68.21.172.in-addr.arpa", "69.21.172.in-addr.arpa", "70.21.172.in-addr.arpa", "70.22.172.in-addr.arpa", "71.21.172.in-addr.arpa", "72.21.172.in-addr.arpa", "72.22.172.in-addr.arpa", "ad1.DOMAIN.com", "psp.ad1.DOMAIN.com", "TrustAnchors"]
2022-11-02T16:44:56 e0b2e1ff [D] executing: ["c:\\Windows\\System32\\dnscmd.exe", "localhost", "/RecordAdd", "ad1.DOMAIN.com", "fraitvm998.ad1.DOMAIN.com.", "A", "172.21.65.98"]
2022-11-02T16:44:56 e0b2e1ff [D] Added A entry fraitvm998.ad1.DOMAIN.com => 172.21.65.98
2022-11-02T16:44:56 e0b2e1ff [I] Finished POST /dns/ with 200 (2865.41 ms)
2022-11-02T16:44:56 [D] close: 10.10.2.118:45792