ubuntu-20.04 ignores domain name setting from DHCP (option 15)

Josef Wolf jw at raven.inka.de
Thu Aug 5 11:14:51 UTC 2021


On Thu, Aug 05, 2021 at 09:15:37AM +0200, Josef Wolf wrote:
> On Wed, Aug 04, 2021 at 09:09:46PM +0200, Josef Wolf wrote:
> > With a default install of ubuntu-20.04. the dhcp-option 15 (domain part of
> > clients the FQDN) is ignored.
> > [ ... ]
> > But the domain name is not set:
> 
> The tird answer in
> https://serverfault.com/questions/485448/how-to-set-hostname-domainname-from-dhcp
> 
> states, that dhclient does NOT support setting the domain-name. But this page
> is 8 years old. Does dhclient still not support this?

Strange enough,

  $ host `hostname -I`

gives the full fqdn.

Maybe somebody can give some clarification about this inconsistency?


-- 
Josef Wolf
jw at raven.inka.de




More information about the ubuntu-users mailing list