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


Groups > alt.os.linux > #56101

Re: resolv.conf

From "J.O. Aho" <user@example.net>
Newsgroups alt.os.linux
Subject Re: resolv.conf
Date 2019-05-06 07:52 +0200
Message-ID <gja0cuF1v9lU1@mid.individual.net> (permalink)
References (1 earlier) <gj8et8FmbovU1@mid.individual.net> <gj8g4eFmirjU1@mid.individual.net> <gj8gjsFmmb8U1@mid.individual.net> <gj8heoFmttuU1@mid.individual.net> <gj9ahpFs6ahU1@mid.individual.net>

Show all headers | View raw


On 06/05/2019 01.39, Mike Easter wrote:
> Mike Easter wrote:
>> Mike Easter wrote:
>>> Is there any easy way to see all of those request results?
>>
>> Gotit:   /var/lib/dhcp/dhclient.leases
>>
> 
>    Configuration 0:
> Network manager settings: ipv4 Automatic DHCP
> sudo dhclient -r enp63s0
> sudo dhclient enp63s0
> Examine /var/lib/dhcp/dhclient.leases
> 
>    Configuration 1:
> Network manager settings: ipv4 Automatic DHCP addresses only
> sudo dhclient -r enp63s0
> sudo dhclient enp63s0
> Re-examine /var/lib/dhcp/dhclient.leases
> 
> dhclient.leases content is identical in both configurations.  Neither 
> contains the DNS server IPs seen in the router (in spite of request for 
> whatever domain-name-servers means) and both contain the 'search' domain 
> (called option domain -name in .leases)

Not sure if dhclient.leases would be the file to trust, as a network 
setting could override values received.


> I can't see a way in the router's configuration for it to 'decline' the 
> DHCP provided DNS server IPs (while I can ADD add'l DNS there)  and I 
> can't see a way in the individual computer NM configuration to decline 
> (or not get) the DHCP provided domain-name.

As I don't know your router, I don't know that either, just know that is 
standard stuff to set in unlocked routers, I do have an locked one with 
special firmware which I have kind of 0-access to, but that one I 
replaced with an Asus router.


> I understand that I can edit files such as resolv.conf search line to 
> remove its domain name and dhclient.conf to not ask for the domain-name, 
> domain-name-servers, and/or domain-search, but it seems there should be 
> some difference caused by configuring the NM DHCP for addresses only. 
> That is, it isNOT getting NAT address only, so what is the point/purpose 
> of that setting option?

You may need to configure your network manager to use the dhclient 
instead of using the built in one, this is a problem with applications 
that reinvents the wheel, sadly guys like Lennart Poettering and his 
freinds at RH don't understand the Unix way.

Alternative, use other network tools to setup your network.

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 06:25 -0700
  Re: resolv.conf "Carlos E. R." <robin_listas@es.invalid> - 2019-05-05 15:39 +0200
  Re: resolv.conf Dan Purgert <dan@djph.net> - 2019-05-05 14:00 +0000
  Re: resolv.conf "J.O. Aho" <user@example.net> - 2019-05-05 17:34 +0200
    Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 09:02 -0700
  Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 08:47 -0700
    Re: resolv.conf "J.O. Aho" <user@example.net> - 2019-05-05 18:08 +0200
      Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 09:17 -0700
        Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 09:31 -0700
          Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 16:39 -0700
            Re: resolv.conf "J.O. Aho" <user@example.net> - 2019-05-06 07:52 +0200
              Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-06 09:30 -0700
                Re: resolv.conf "J.O. Aho" <user@example.net> - 2019-05-06 19:13 +0200
                Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-06 12:03 -0700
            Re: resolv.conf "Carlos E. R." <robin_listas@es.invalid> - 2019-05-06 09:14 +0200
        Re: resolv.conf Grant Taylor <gtaylor@tnetconsulting.net> - 2019-05-05 10:37 -0600
  Re: resolv.conf Grant Taylor <gtaylor@tnetconsulting.net> - 2019-05-05 10:35 -0600

csiph-web