Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1973

Add option to do reverse DNS lookups on IP addresses for MaxAdmin output

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.2.11
    • 2.4.0
    • maxadmin
    • None
    • MXS-SPRINT-78, MXS-SPRINT-79, MXS-SPRINT-80, MXS-SPRINT-81, MXS-SPRINT-82, MXS-SPRINT-83

    Description

      MaxAdmin currently only prints IP addresses for hosts in its output. i.e.:

      $ maxadmin list sessions
      -----------------+-----------------+----------------+--------------------------
      Session | Client | Service | State
      -----------------+-----------------+----------------+--------------------------
      215811 | ::ffff:10.1.1.6 | Galera-Service | Session ready for routing
      216121 | ::ffff:10.1.1.5 | Galera-Service | Session ready for routing
      216783 | ::ffff:10.1.1.1 | Galera-Service | Session ready for routing
      

      Some users would like to have an option that would allow them to tell maxadmin to do reverse DNS lookups on IP addresses, and then to have the hostnames printed in addition to or instead of the IP addresses.

      Attachments

        Activity

          markus makela markus makela added a comment - - edited

          Should be relatively low-effort to implement. It'll be mainly about wrapping the dcb->remote into some function call that either returns the IP or the hostname depending on how MaxScale is configured. The value of dcb->remote cannot be changed to a hostname as it would cause functional changes to MaxScale, mainly authentication and how it behaves.

          markus makela markus makela added a comment - - edited Should be relatively low-effort to implement. It'll be mainly about wrapping the dcb->remote into some function call that either returns the IP or the hostname depending on how MaxScale is configured. The value of dcb->remote cannot be changed to a hostname as it would cause functional changes to MaxScale, mainly authentication and how it behaves.

          People

            esa.korhonen Esa Korhonen
            GeoffMontee Geoff Montee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.