#992384 isc-dhcp-client: default domain-search incorrectly appends a period

Package:
isc-dhcp-client
Source:
isc-dhcp
Description:
DHCP client for automatically obtaining an IP address
Submitter:
Martin-Éric Racine
Date:
2026-08-05 17:34:36 UTC
Severity:
important
#992384#5
Date:
2021-08-18 04:40:18 UTC
From:
To:
I added those options to the configuration:

default domain-name "lan";
default domain-search "lan";

What I get as a result:

domain lan
search lan.
nameserver 62.241.198.245
nameserver 62.241.198.246

There is an extraneous period that should not be there.

- -- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages isc-dhcp-client depends on:
ii  debianutils        4.11.2
ii  iproute2           5.10.0-4
ii  libc6              2.31-13
ii  libdns-export1110  1:9.11.19+dfsg-2.1
ii  libisc-export1105  1:9.11.19+dfsg-2.1

Versions of packages isc-dhcp-client recommends:
ii  isc-dhcp-common  4.4.1-2.3

Versions of packages isc-dhcp-client suggests:
pn  avahi-autoipd         <none>
pn  isc-dhcp-client-ddns  <none>
pn  resolvconf            <none>

- -- Configuration Files:
/etc/dhcp/dhclient.conf changed:
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-name-servers, domain-search, host-name,
	dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
	netbios-name-servers, netbios-scope, interface-mtu,
	rfc3442-classless-static-routes, ntp-servers;
default domain-name "lan";
default domain-search "lan";


- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmEcjzEACgkQrh+Cd8S0
17bbEhAAi4610ot7kI5Gje38DUz8dSkBcswK/ajfRNOrX2dcmE3tgJLLbzfHYKV7
FfAIoQjN0j7Fn57c6N07ATVEDgvG1mcuuvHe5HgspDbPS0EYeCnicWvd9qUrZFwR
jQ6uwzsm0iAzUjQJzRs8SGX2mJDqek81aqO4X9Snx+5KFrn6h2/M3BzS49Jpxzwd
jrFxDkWgkVqRzLMyD4Oc9W+bCo6/57b4y8oPrH0IK1ie25Pn28NkYo7kaCJl29GZ
z7qyzsOPMuxo+UzAULcRZswqvwzzprJGWXCIf7i2FvXPPGGvPgGtKUrf9Xeeiivc
Wstyw+cLBb55N/5WmNIBZn2750EjR0v6hTLEorpDptnkjcvdbdlTp7+ACXfKIV9z
ETbL50bFD4a3vL+Nbut6PK1la99UjqNQ+DpDi4Len6IDQ9XXOFLYIPGNDvokxby9
3X1Bs6l2G4XfS2jJ1DxJbSmAQSe5+XC+VIrYQv7of85g6Xi4Pp6Pj5GMWv35tShN
y5PKptOUCm586JqHboIGmauUqYKCUsHaS8om2CF/fk90bSWIHaYY+38aL+pQC8RC
HpAtvLvcACzMHoQ87zAwRYqqpZ+WDSw8Haa+zLbWqze75GB+53t/tHEberxhFwXh
xMQ0x7d9xBQu4FPYeLzmuJJfpdXAYbRNrLs8kGDh4Ii+7jRtWks=
=xmgh
-----END PGP SIGNATURE-----

#992384#10
Date:
2022-02-21 12:24:28 UTC
From:
To:
As additioal info. it seems that the additional period only appears if
dhclient is called for DHCP-IPv6 (stateful or stateless), such as in
the following /etc/network/interfaces stanza :

iface enp4s0 inet dhcp
iface enp4s0 inet6 auto
  privext 2
  dhcp 1

If the inet6 section is commented out, no extra period appears.

Martin-Éric

#992384#15
Date:
2025-08-31 07:55:18 UTC
From:
To:
Still not fixed as of 4.4.3-P1-1.1:

domain internal
search internal. local.
nameserver 172.16.1.1
nameserver 1.1.1.1

#992384#20
Date:
2026-08-05 17:31:09 UTC
From:
To:
Dear submitter,

as the package isc-dhcp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143544

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)