Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244268

Re: DHCP and search list for DNS domains

From Markus Schönhaber <debian-user@list-post.mks-mail.de>
Newsgroups linux.debian.user
Subject Re: DHCP and search list for DNS domains
Date 2022-01-21 15:20 +0100
Message-ID <DI2VH-7op-1@gated-at.bofh.it> (permalink)
References <DI1ZD-6Q7-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


21.01.22, 13:57 +0100, Steve Keller:

> 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?
> 
> AFAICS, there is no option in DHCP to provide the search list.

 From dhcp-options(5):

>        option domain-search domain-list;
> 
>          The domain-search option specifies a  ´search  list´  of  Domain
>          Names to be used by the client to locate not-fully-qualified do‐
>          main names.  The difference between this option and historic use
>          of  the domain-name option for the same ends is that this option
>          is encoded in RFC1035 compressed labels on the wire.  For  exam‐
>          ple:
> 
>            option domain-search "example.com", "sales.example.com",
>                                 "eng.example.com";

-- 
Regards
   mks

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

DHCP and search list for DNS domains Steve Keller <keller.steve@gmx.de> - 2022-01-21 14:20 +0100
  Re: DHCP and search list for DNS domains Markus Schönhaber <debian-user@list-post.mks-mail.de> - 2022-01-21 15:20 +0100
    Re: DHCP and search list for DNS domains Steve Keller <keller.steve@gmx.de> - 2022-01-21 16:20 +0100
  Re: DHCP and search list for DNS domains Charles Curley <charlescurley@charlescurley.com> - 2022-01-21 15:30 +0100
  Re: DHCP and search list for DNS domains David Wright <deblis@lionunicorn.co.uk> - 2022-01-21 17:30 +0100

csiph-web