Refactor #17037

Replace Resolv::DNS#getname calls with Resolv::DNS#getresource

Added by Dmitri Dolguikh 9 months ago. Updated 7 months ago.

Status:Closed
Priority:Normal
Assigned To:Dmitri Dolguikh
Category:DNS
Target version:Foreman - Team Ivan Iteration 5
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/smart-proxy/pull/491, https://github.com/theforeman/smart-proxy/pull/469
Story points-
Velocity based estimate-
Release1.14.0Release relationshipAuto

Description

This allows to skip conversion of ptr records to ip addresses.

Associated revisions

Revision 522231bf
Added by Dmitri Dolguikh 8 months ago

Fixes #17037 - Resolver::DNS#getresources is used now.

It replaces calls to Resolver::DNS#getaddresses and
Resolver::DNS#getnames in dns module and its providers.

Revision a0e36b3b
Added by Ewoud Kohl van Wijngaarden 7 months ago

Refs #17037 - Fix deprecation warning in dnscmd

522231bf3e4c918ee821a73acb3f70459ca57791 deprecated the use of
ptr_record_conflicts with IPs, but didn't update this implementation.

History

#1 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Dmitri Dolguikh
  • Pull request https://github.com/theforeman/smart-proxy/pull/469 added

#2 Updated by Ivan Necas 9 months ago

  • Target version set to Team Ivan Iteration 5

#3 Updated by Dmitri Dolguikh 8 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal 8 months ago

  • Release set to 1.14.0

#5 Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/theforeman/smart-proxy/pull/491 added

Also available in: Atom PDF