#1140017 Netcfg fails to write "search <dns-domain>" entry to /etc/resolv.conf

#1140017#5
Date:
2026-06-14 19:07:09 UTC
From:
To:
I have (re-)created a Debian netinst boot-stick incorporating a tailored
preseed.cfg.

For some reason I need server names with a node-name only (like "timeserv").
Without a dns-domain, so not a FQDN.

This wouldn't be a problem if /etc/resolv.conf contains a line
"search <dns-domain>"

Unfortunately netcfg fails to write it.

I have modified postinst to do this. See patch.

Maybe it would be better to modify the netcfg itself. But this is beyond my
scope.

Markus