Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #56077 > unrolled thread
| Started by | Mike Easter <MikeE@ster.invalid> |
|---|---|
| First post | 2019-05-05 06:25 -0700 |
| Last post | 2019-05-05 10:35 -0600 |
| Articles | 17 — 5 participants |
Back to article view | Back to alt.os.linux
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
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-05 06:25 -0700 |
| Subject | resolv.conf |
| Message-ID | <gj86j5Fkj77U1@mid.individual.net> |
/etc/resolv.conf has a search line which in my case contains a domain name. That content was not populated by me. The/My router also contains that same domain name information which also was not populated by me. To me, that means that domain name was provided by the protocol automatic DHCP, the same source of my WAN IP address and DNS server IPs; and then some process initiated by my system, not me, populated the resolv.conf with that string. I understand a little bit about the theoretical usefulness of that domain name in some local network situations, but it is NOT valuable in my case, and is potentially a source of 'misinformation' if certain requests tack on the search domain name: theoretical example, if resolv.conf contains: search example.com Trying to resolve w3.org problem recently discussed here at some point wanted to resolve w3.org.example.com. Ridiculous. -- Mike Easter
[toc] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-05-05 15:39 +0200 |
| Message-ID | <gj87c1FkocgU1@mid.individual.net> |
| In reply to | #56077 |
On 05/05/2019 15.25, Mike Easter wrote:
> /etc/resolv.conf has a search line which in my case contains a domain name.
>
> That content was not populated by me.
>
> The/My router also contains that same domain name information which also
> was not populated by me.
>
> To me, that means that domain name was provided by the protocol
> automatic DHCP, the same source of my WAN IP address and DNS server IPs;
> and then some process initiated by my system, not me, populated the
> resolv.conf with that string.
Router DHCP (server) on the LAN, and client DHCP on your computer.
The "whatever" you use to configure network may allow to ignore name
assigned by router DHCP, but that may cause that searching a computer by
name on the LAN could fail.
The router may get the domain name via DHCP (client) from the ISP, or it
can be something else. So, don't call that process DHCP because it is
confusing.
>
> I understand a little bit about the theoretical usefulness of that
> domain name in some local network situations, but it is NOT valuable in
> my case, and is potentially a source of 'misinformation' if certain
> requests tack on the search domain name:
>
> theoretical example, if resolv.conf contains:
>
> search example.com
>
> Trying to resolve w3.org problem recently discussed here at some point
> wanted to resolve w3.org.example.com. Ridiculous.
Any name you put there, will have that effect.
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-05-05 14:00 +0000 |
| Message-ID | <slrnqctr3d.n0k.dan@djph.net> |
| In reply to | #56077 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mike Easter wrote: > /etc/resolv.conf has a search line which in my case contains a domain > name. > > That content was not populated by me. Upstream DHCP server provided it. > > The/My router also contains that same domain name information which also > was not populated by me. ISP DHCP server provided it. > > To me, that means that domain name was provided by the protocol > automatic DHCP, the same source of my WAN IP address and DNS server IPs; > and then some process initiated by my system, not me, populated the > resolv.conf with that string. Dynamic Host Configuration Protocol is kinda nice like that, innit? > > I understand a little bit about the theoretical usefulness of that > domain name in some local network situations, but it is NOT valuable in > my case, and is potentially a source of 'misinformation' if certain > requests tack on the search domain name: > > theoretical example, if resolv.conf contains: > > search example.com > > Trying to resolve w3.org problem recently discussed here at some point > wanted to resolve w3.org.example.com. Ridiculous. That shouldn't happen, as ".org" is already a TLD. Only way I can see that happening is if the DNS server responded in the negative to "w3.org" (so then w3.org.searchdomain was tried). But then, it's been a while since I've read up on how DNS queries get searchdomains tacked on. -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlzO7GwACgkQjhHd8xJ5 ooEWQwf/Tr2TPL2MqnbD0OYV1YbY6v2IOWh34QK/DAn8i/VbXQfMKT7rzU4eij0u rZj8c43v9S29ZBQ+oVS/JaHa+eAF3gbLfvz3u9/MZyBCz6pveZdUaYlHVrCZEEB2 AsxWJKP9UC5E1mMY7QfCs9GqWBDi0hkTeumkY8BoYP82hW6tRQentOaQHiIBBO87 ZBsxnJwNSwgz92qCnu8u5pJxtqm2QYCNIZOMfZW3gxbR2k1c3ne88/Y0+ByRGYOk WuIVYM84hhKBDSDF5HsKDloaOUAmbVbCsN+RdR3NiNtg1aYvVulCutcJQsFd8LXM 2SIgbwPZ9Q80xVGx507vH/dV/rUv0Q== =9GED -----END PGP SIGNATURE----- -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2019-05-05 17:34 +0200 |
| Message-ID | <gj8e48Fm6meU1@mid.individual.net> |
| In reply to | #56077 |
On 05/05/2019 15.25, Mike Easter wrote: > /etc/resolv.conf has a search line which in my case contains a domain name. > > That content was not populated by me. No, but you got it from the DHCP server you got your local ip from, which in it's own turn got it from the DHCP server which provided it with an ip. As I wrote in your earlier thread, what you get depends on the combination of the DHCP server and your DHCP client settings. If you don't want the search value or want to set something you want, configure your /etc/dhcp/dhclient.conf > theoretical example, if resolv.conf contains: > > search example.com > > Trying to resolve w3.org problem recently discussed here at some point > wanted to resolve w3.org.example.com. Ridiculous. Say you just type: ssh mymediacenter instead of ssh mymediacenter.example.org you save some typing. In your case it's like a fallback in case you were looking for a subdomain in your domain. -- //Aho
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-05 09:02 -0700 |
| Message-ID | <gj8fnrFmhk8U1@mid.individual.net> |
| In reply to | #56082 |
J.O. Aho wrote: > No, but you got it from the DHCP server you got your local ip from, > which in it's own turn got it from the DHCP server which provided it > with an ip. The issues, if there were any, would begin w/ the behavior processes of the router, before the individual computer. So, presumably the router is initiating a process 'upstream' via the modem in a DHCP manner by which it is getting such as DNS servers and domain name from that server. So the router is getting a WAN IP and a lot of other 'stuff'. Then this machine gets a NAT IP and access to the WAN and also 'inherits' that other stuff including DNS servers and domain name which prove to be 'inappropriate' or unfortunate or not useful or worse. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-05 08:47 -0700 |
| Message-ID | <gj8et8FmbovU1@mid.individual.net> |
| In reply to | #56077 |
Mike Easter wrote:
> /etc/resolv.conf has a search line which in my case contains a domain name.
This is /etc/dhcp/dhclient.conf
# Configuration file for /sbin/dhclient.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#
option rfc3442-classless-static-routes code 121 = array of unsigned
integer 8;
send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
#require subnet-mask, domain-name-servers;
timeout 300;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/sbin/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;
#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}
#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
--
Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2019-05-05 18:08 +0200 |
| Message-ID | <gj8g4eFmirjU1@mid.individual.net> |
| In reply to | #56083 |
On 05/05/2019 17.47, Mike Easter wrote: > Mike Easter wrote: >> /etc/resolv.conf has a search line which in my case contains a domain >> name. > > This is /etc/dhcp/dhclient.conf > > # Configuration file for /sbin/dhclient. > # > # This is a sample configuration file for dhclient. See dhclient.conf's > # man page for more information about the syntax of this file > # and a more comprehensive list of the parameters understood by > # dhclient. > # > # Normally, if the DHCP server provides reasonable information and does > # not leave anything out (like the domain name, for example), then > # few changes must be made to this file, if any. > # > > option rfc3442-classless-static-routes code 121 = array of unsigned > integer 8; > > send host-name = gethostname(); > request subnet-mask, broadcast-address, time-offset, routers, > domain-name, domain-name-servers, domain-search, host-name, > dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, > dhcp6.sntp-servers, > netbios-name-servers, netbios-scope, interface-mtu, > rfc3442-classless-static-routes, ntp-servers; Then remove domain-search -- //Aho
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-05 09:17 -0700 |
| Message-ID | <gj8gjsFmmb8U1@mid.individual.net> |
| In reply to | #56085 |
J.O. Aho wrote: > Mike Easter wrote: >> option rfc3442-classless-static-routes code 121 = array of unsigned >> integer 8; >> >> send host-name = gethostname(); >> request subnet-mask, broadcast-address, time-offset, routers, >> domain-name, domain-name-servers, domain-search, host-name, >> dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, >> dhcp6.sntp-servers, >> netbios-name-servers, netbios-scope, interface-mtu, >> rfc3442-classless-static-routes, ntp-servers; > > Then remove domain-search > Is there any easy way to see all of those request results? -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-05 09:31 -0700 |
| Message-ID | <gj8heoFmttuU1@mid.individual.net> |
| In reply to | #56086 |
Mike Easter wrote: > Is there any easy way to see all of those request results? Gotit: /var/lib/dhcp/dhclient.leases -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-05 16:39 -0700 |
| Message-ID | <gj9ahpFs6ahU1@mid.individual.net> |
| In reply to | #56087 |
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) 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. 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? -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2019-05-06 07:52 +0200 |
| Message-ID | <gja0cuF1v9lU1@mid.individual.net> |
| In reply to | #56097 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-06 09:30 -0700 |
| Message-ID | <gjb5ovF9tlvU1@mid.individual.net> |
| In reply to | #56101 |
J.O. Aho wrote: > Mike Easter wrote: > >> 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 wouldn't call this Linksys/Cisco EA3500 'locked' as it is quite flexible w/ a number of configurable features, but I can't yet see a way to 'prevent' the 'digestion' of info it is getting from the modem. In a section on DDNS, it implies that configuring to use a DDNS would somehow 'override' the DHCP DNS. In addition to DDNS, it also allows setting up VPN; and it allows some configuration of DHCP such as setting static IPs and one can also disable the DHCP. In the section where one can populate w/ static DNS it says: 4. To disable the DHCP server, deselect the Enabled checkbox. 5. Leave the Enabled checkbox selected to edit the following settings: • • Start IP address • • Maximum number of users • • IP address range (not editable) • • Client lease time • • Static DNS values • • WINS In another section is where the static IP devices can be configured. The part where 'replacing' the DNS is implied says: Your computers can also use the built-in capabilities of your Linksys router, such as parental controls. If you need further control over the type of content your employees or family access, you can create an account with an Internet filtering site such as www.opendns.com or www.bsecure.com. After you create an account with them, use their DNS in place of your ISP’s DNS. To use their DNS: 1. Log into Linksys Smart Wi-Fi. (See “How to configure your router” on page 14. 2. Under Router Settings, click Connectivity. 3. Click the Local Network tab. 4. Complete the Static DNS fields with the information provided by your content filtering provider. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2019-05-06 19:13 +0200 |
| Message-ID | <gjb88vFae2vU1@mid.individual.net> |
| In reply to | #56105 |
On 06/05/2019 18.30, Mike Easter wrote: > J.O. Aho wrote: >> Mike Easter wrote: >> >>> 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 wouldn't call this Linksys/Cisco EA3500 'locked' as it is quite > flexible w/ a number of configurable features, but I can't yet see a way > to 'prevent' the 'digestion' of info it is getting from the modem. In a > section on DDNS, it implies that configuring to use a DDNS would somehow > 'override' the DHCP DNS. > > In addition to DDNS, it also allows setting up VPN; and it allows some > configuration of DHCP such as setting static IPs and one can also > disable the DHCP. DDNS is to make your dynaimc ip to be assigned a domain name that you have trough a DDNS-service provider like www.dyndns.com, so for example you would have a sub domain "myexternalip" and the DDNS service would update your DNS entry each time your router gets a new external IP, so that you can always access your routers external network on myexternalip.example.net Has nothing to do with DHCP. > In the section where one can populate w/ static DNS > it says: > > 4. To disable the DHCP server, deselect the Enabled checkbox. > 5. Leave the Enabled checkbox selected to edit the following settings: > • • Start IP address > • • Maximum number of users > • • IP address range (not editable) > • • Client lease time > • • Static DNS values You can set this value to the DNS you want your computers in your network would use, for example 1.1.1.1, 8.8.8.8, 9.9.9.9 Your router don't seem to have setting for search-domain, so that you need to fix client side. -- //Aho
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-06 12:03 -0700 |
| Message-ID | <gjbeomFbqlgU1@mid.individual.net> |
| In reply to | #56106 |
J.O. Aho wrote: > Mike Easter wrote: >> In a section on DDNS, it implies that configuring to use a >> DDNS would somehow 'override' the DHCP DNS. >> > DDNS is to make your dynaimc ip to be assigned a domain name that you > have trough a DDNS-service provider like www.dyndns.com, so for example > you would have a sub domain "myexternalip" and the DDNS service would > update your DNS entry each time your router gets a new external IP, so > that you can always access your routers external network on > myexternalip.example.net Yes I know. > Has nothing to do with DHCP. wellll... I was thinking that DDNS providers *also* provided DNS services to their clients, which DNS could feature parental controls, like OpenDNS. But now I'm looking around and I'm not seeing such a combination (parental DNS and dynDNS). I was influenced in that thinking by the content of the router docs; but now I see that section was only talking about opendns not dyndns. That is, the docs talk about both, but not in the same way. > You can set this value to the DNS you want your computers in your > network would use, for example 1.1.1.1, 8.8.8.8, 9.9.9.9 Yes, I have the router (and individual computers now) configured for static DNS. > Your router don't seem to have setting for search-domain, so that you > need to fix client side. I've experimented w/ removing some items from dhclient.conf which does indeed change the results in dhclient.leases such as the annoying domain name situation. In the past, there was some 'consistency' in the DHCP provided DNS servers and the DHCP provided WAN IP as well as the DHCP provided domain name; but now, that is no longer the case. The netblock of the WAN iP and the name of the WAN IP are consistent w/ EL, but the domain name is a 'old' RR. Once upon a time using the same infrastructure under other providers, my IP would rDNS to a RR, which made sense at the time. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-05-06 09:14 +0200 |
| Message-ID | <gja579F2v4aU1@mid.individual.net> |
| In reply to | #56097 |
On 06/05/2019 01.39, Mike Easter wrote:
> 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)
Depends on the router and the ISP decisions.
However, on the router DHCP server configuration I can manually write
the DNSs I want to provide.
And in the DNS section I can choose to obtain them from upstream or
write my own.
And, this router doesn't provide LAN domain name on the DHCP section,
but on the DNS proxy section it does - and I can write it, not the ISP.
By default it is "Home"
> and I
> can't see a way in the individual computer NM configuration to decline
> (or not get) the DHCP provided domain-name.
On another machine that uses NM, I set machine name and domain in YaST
(which writes to /etc/sysconfig/network/*). There is a tick to change or
not the name according to DHCP, and I have it on "no". You don't have
that tool; your distribution should have something else.
/etc/sysconfig/network/dhcp/
DHCLIENT_SET_HOSTNAME="no"
> 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?
Note that "address only" probably does not set the masq or the GW, nor DNS.
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | Grant Taylor <gtaylor@tnetconsulting.net> |
|---|---|
| Date | 2019-05-05 10:37 -0600 |
| Message-ID | <qan3qm$s9b$2@tncsrv09.home.tnetconsulting.net> |
| In reply to | #56086 |
On 5/5/19 10:17 AM, Mike Easter wrote: > Is there any easy way to see all of those request results? Many DHCP clients log the information they receive from the DHCP server. Where is client specific. Check man pages and / or internet searches for your particular client. I frequently see it tucked in or under /var/log, /var/lib, or /etc. -- Grant. . . . unix || die
[toc] | [prev] | [next] | [standalone]
| From | Grant Taylor <gtaylor@tnetconsulting.net> |
|---|---|
| Date | 2019-05-05 10:35 -0600 |
| Message-ID | <qan3m6$s9b$1@tncsrv09.home.tnetconsulting.net> |
| In reply to | #56077 |
On 5/5/19 7:25 AM, Mike Easter wrote: > I understand a little bit about the theoretical usefulness of that > domain name in some local network situations, but it is NOT valuable in > my case, and is potentially a source of 'misinformation' if certain > requests tack on the search domain name: This is probably best categorized a carry over of how DHCP behaves in a corporate (decidedly non-ISP) environment where this information is of value. ISPs are simply re-using the standard DHCP protocol. They've populated common fields. Some of which have less value in an ISP environment than they do in a corporate environment. You can likely configure your router's DHCP client to not use the extra information. -- Grant. . . . unix || die
[toc] | [prev] | [standalone]
Back to top | Article view | alt.os.linux
csiph-web