Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: alt.os.linux Subject: Re: DNS Date: Wed, 1 May 2019 09:43:21 +0200 Lines: 47 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net JSEewP6sG66jdT1TwnFyvAEf6ulyrcFvGpxbqs0SvuBylf5xY6 Cancel-Lock: sha1:IScO1Tftp1fBt/T8QjI7I1K4z1I= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 In-Reply-To: Content-Language: en-PH Xref: csiph.com alt.os.linux:55949 On 01/05/2019 00.02, Mike Easter wrote: > Carlos E. R. wrote: >> Mike Easter wrote: >>> >>> Yes; I know the 127 is me, but the 127 is in turn asking the gateway >>> which gateway is asking the DNS servers provided by the DHCP. >> >> There is no "DNS servers provided by the DHCP". Such a thing does not >> exist. > > My understanding is that the DHCP gives me IP address, subnet mask, > default routers, DNS servers, lease time etc. Depends on the configuration on the DHCP server, also the local machines DHCP configuration can override settings that is provided by the DHCP server. For example a server configuration could look like: subnet 10.5.5.0 netmask 255.255.255.224 { range 10.5.5.26 10.5.5.30; option domain-name-servers 10.5.5.1; option domain-name "internal.example.org"; option routers 10.5.5.1; option broadcast-address 10.5.5.31; default-lease-time 600; max-lease-time 7200; } while a client side configuration has: lease { interface "ep0"; fixed-address 10.5.5.29; option domain-name-servers 1.1.1.1; } Which would override the ip and dns entry provided by the dhcp server. If you use systemd/Linux, then things may be even more complicated as you have to take in account systemd settings, for a simpler setup I do recommend GNU/Linux instead. -- //Aho