[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP and search list for DNS domains



On Fri, 21 Jan 2022 13:57:47 +0100
Steve Keller <keller.steve@gmx.de> wrote:

> With DHCP I can tell a host the DNS server and the domain name of the
> network, which is then stored to /etc/resolv.conf.  But how can I add
> a list a domain names that should be searched when resolving a host
> name?

root@chaffee:~# grep -i search /etc/dhcp/dhcpd.conf
    option domain-search "domain0", "domain1", "domain2";
root@chaffee:~# 

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: