Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1083429

Bug#1000787: dig: Underscores in domain get unexpectedly removed from query

From Felix <felix@felix-zauberer.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1000787: dig: Underscores in domain get unexpectedly removed from query
Date 2021-11-28 23:00 +0100
Message-ID <DoAnf-KX-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: bind9-dnsutils
Version: 1:9.17.20-3
Severity: normal
Tags: upstream

Dear Maintainer,

While checking some of my DNS records I got NXDOMAIN responses for all
SRV queries.

I found out, that it has nothing to do with SRV, but with the underscore
in the domain.
The current behaviour is the following (note the missing underscores in
the QUESTION SECTION):

```
$ dig _xmpp-client._tcp.debian.org srv
...
;; QUESTION SECTION:
;xmpp-client.tcp.debian.org.	IN	SRV
...
```

The expected result (tested on another machine on Debian Bullseye, DiG
9.16.22-Debian) is:

```
$ dig _xmpp-client._tcp.debian.org srv
...
;; QUESTION SECTION:
;_xmpp-client._tcp.debian.org.	IN	SRV
...
```

Underscores simply get removed from the query.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bind9-dnsutils depends on:
ii  bind9-host [host]  1:9.17.20-3
ii  bind9-libs         1:9.17.20-3
ii  libc6              2.32-4
ii  libedit2           3.1-20210910-1
ii  libidn2-0          2.3.2-2
ii  libkrb5-3          1.18.3-7
ii  libprotobuf-c1     1.3.3-1+b2

bind9-dnsutils recommends no packages.

bind9-dnsutils suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1000787: dig: Underscores in domain get unexpectedly removed from query Felix <felix@felix-zauberer.de> - 2021-11-28 23:00 +0100
  Bug#1000787: host: Names that start with an underscore are no longer resolved Frédéric MASSOT <frederic@juliana-multimedia.com> - 2021-12-16 15:20 +0100

csiph-web