Technical

Fix Proxmox Automated Installer Ignoring DHCP Option 119

Fix Proxmox Automated Installer Ignoring DHCP Option 119

Proxmox automated installation DHCP option 119 is a pain. The installer’s dhclient doesn’t request domain-search, so DNS breaks and the auto install stalls. Here’s the fix.

Close-up of blue ethernet cables hanging in a data center, highlighting technology connections.

What’s happening

The PVE 9.2-1 ISO uses dhclient during automated installation. By default, dhclient only requests a few options: subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name. Option 119 (domain-search) isn’t in that list. So if your network relies on domain-search for DNS resolution, the installer can’t resolve names. The automated install then fails when it tries to fetch the answer file or packages.

Focused view of a modern data server rack with blinking lights in a blue-lit environment.

The workaround

You need to make dhclient request option 119. The installer’s dhclient config is at /etc/dhcp/dhclient.conf on the live system. Add this line:

supersede domain-search "example.com";
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, domain-search, host-name;

Replace example.com with your actual search domain. Then restart dhclient or just run the installer again. It’ll pick up the new config.

If you’re doing a fully automated install with a fetched answer file, you can inject this config before the installer runs. One way: boot the ISO, switch to a shell (Ctrl+Alt+F2), edit the file, then start the installer manually with proxmox-auto-install.

Why this is stupid

The Proxmox installer should request all standard DHCP options, including 119. Not doing so breaks setups that use domain-search for internal DNS. It’s a one-line fix in their build, but apparently nobody’s bothered. There’s an unresolved forum thread about this exact issue and no official fix.

If you hit this, don’t waste time debugging DNS. Just add the supersede line and move on. It’s annoying but at least it’s easy.

Related: Proxmox shared storage NFS: add the share and get the options right

Leave a comment

Comments are reviewed before they appear. Your email is never published.