When the DHCP server doesn't provide any domain-name or domain-search value, it would be desirable for the DHCP client to set them to the result of "hostname -d" and to print them to /etc/resolv.conf as a fallback mechanism.
- -- 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";
append domain-name-servers 1.1.1.1;
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmEjMkAACgkQrh+Cd8S0
17aEHA/9HiXsvZuNtOXsgVwVt8LaYxVizd7ieonzgpJii5mpkNwA0gx1iKtdQHy4
3ATxN3qEmcwjU0zObsV/mgRijyr7sfNVdBjoR8h+Yzx5vpaGHMXCiAoXjjdGXmj2
1jy/tYsb/L3kam1BI0RyK8IzyifEz+L60fYDXZVzopRUEJoW+GWqugksN2PxkB4/
OSm2udawxAgmTKMH4CSPp+jMkWMgvlNF5r6AX3xiWjZUkD/PxQeYm2G5k7QctP4A
GKsrn405563EiX9zQMzk+PJNYR48776n/X7aiw+gG3jdbBh5xrHbndd0aUis0j6E
PQVBJh3igfEFAiudSss/8gxITaNeAMHS4MNN4DDozurkkEMG9puQHr2OPIGfoaVf
LitfEodhGie2frGHbcPrOTmMLPCv5bGrtDmJxQuniQCKPjjk9ibdtsf9XUA8jSqe
Y3R75TUqJLS+bBsfiO/ZeqwS4Uk28XCXPcySZVcpmMWX94Wuqg61QTl8fZuRtKmq
veZbHOMKyu7OjKyCRWyjTbWXsW8JEGnRiT2SNPjljzPD8yQb2H2At8TIE1aayX2w
4O71qg/ih/hpfLUzcZ2Kg9uKErW7Tb6dqhjLHZTDrU1FL7zTeNcxs7yeLlNzCCO6
vLOzTZskxRz3s0divycWBcdSoMgTbgBeUdKS0uUuoDpHNNLG2Nc=
=qnE7
-----END PGP SIGNATURE-----