core icon indicating copy to clipboard operation
core copied to clipboard

Update drill to have +short option

Open 3isenHeiM opened this issue 1 year ago • 0 comments
trafficstars

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
  • [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.

Since dig is not shipped anymore with OPNsense, the only DNS utility for CLI is drill. In the version shipped (1.7.0 with OPNsense 24.1.1-amd64), the user has to manually parse the output of the command to get the record value. There is not +short option available like in dig.

Describe the solution you like

Versions of drill > 1.8.0 have a -Q flag to reduce the output to the value of the queried record. https://github.com/NLnetLabs/ldns/issues/28#issuecomment-1183705576

This binary could be upgraded in order to provide this functionality.

Describe alternatives you considered

None as drill already offers an option in its latest release.

3isenHeiM avatar Feb 08 '24 09:02 3isenHeiM