Skip to content

resolvectl doesn't display NAPTR records in a useful way #18126

Closed

Description

@amessina

systemd version the issue has been seen with

systemd 246 (v246.7-2.fc33)
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified

Used distribution

Fedora

Linux kernel version used (uname -a)

Linux hostname 5.9.16-200.fc33.x86_64 #1 SMP Mon Dec 21 14:08:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

CPU architecture issue was seen on

x86_64

Expected behaviour you didn't see

I expected to see user-readable output on the command line like the following:
$ dig +short NAPTR twilio.com
10 10 "S" "SIP+D2U" "" _sip._udp.pstn.us2-tnx.twilio.com.
20 10 "S" "SIP+D2T" "" _sip._tcp.pstn.ie1-tnx.twilio.com.
20 10 "S" "SIPS+D2T" "" _sips._tcp.pstn.ie1-tnx.twilio.com.
20 10 "S" "SIPS+D2T" "" _sips._tcp.pstn.us2-tnx.twilio.com.
10 10 "S" "SIP+D2U" "" _sip._udp.pstn.ie1-tnx.twilio.com.
20 10 "S" "SIP+D2T" "" _sip._tcp.pstn.us1-tnx.twilio.com.
20 10 "S" "SIP+D2T" "" _sip._tcp.pstn.us2-tnx.twilio.com.
20 10 "S" "SIPS+D2T" "" _sips._tcp.pstn.us1-tnx.twilio.com.
10 10 "S" "SIP+D2U" "" _sip._udp.pstn.us1-tnx.twilio.com.

Unexpected behaviour you saw

$ resolvectl -t NAPTR query twilio.com
twilio.com IN NAPTR # 50 0014000a0153075349502b44325400045f736970045f746370047073746e076965312d746e78067477696c696f03636f6d00 -- link: eno2
twilio.com IN NAPTR # 50 000a000a0153075349502b44325500045f736970045f756470047073746e076965312d746e78067477696c696f03636f6d00 -- link: eno2
twilio.com IN NAPTR # 50 000a000a0153075349502b44325500045f736970045f756470047073746e077573312d746e78067477696c696f03636f6d00 -- link: eno2
twilio.com IN NAPTR # 50 000a000a0153075349502b44325500045f736970045f756470047073746e077573322d746e78067477696c696f03636f6d00 -- link: eno2
twilio.com IN NAPTR # 52 0014000a015308534950532b44325400055f73697073045f746370047073746e077573312d746e78067477696c696f03636f6d00 -- link: eno2
twilio.com IN NAPTR # 50 0014000a0153075349502b44325400045f736970045f746370047073746e077573312d746e78067477696c696f03636f6d00 -- link: eno2
twilio.com IN NAPTR # 52 0014000a015308534950532b44325400055f73697073045f746370047073746e076965312d746e78067477696c696f03636f6d00 -- link: eno2
twilio.com IN NAPTR # 50 0014000a0153075349502b44325400045f736970045f746370047073746e077573322d746e78067477696c696f03636f6d00 -- link: eno2
twilio.com IN NAPTR # 52 0014000a015308534950532b44325400055f73697073045f746370047073746e077573322d746e78067477696c696f03636f6d00 -- link: eno2
-- Information acquired via protocol DNS in 42.8ms.
-- Data is authenticated: no

Activity

  1. added
    RFE 🎁
    on Jan 4, 2021
  2. added 6 commits that reference this issue on Mar 1, 2024
    dc7c9b4
    bdb3b50
    04f179b
    88cdd72
    05cfb08
    1761567
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFE 🎁resolve

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions