Re: How to disable DNS search received by DHCP

2024-01-28 Thread Tim via users
On Sun, 2024-01-28 at 08:12 +, Strahil Nikolov via users wrote: > I do control the DHCP and the DNS servers in my network and I did > manage to make the DHCP stop proposing 'domain-search' and yet > NetworkManager (after OKD update and my interventions with > /etc/resolv.conf systemd-resolved i

Re: How to disable DNS search received by DHCP

2024-01-28 Thread Barry Scott
> On 28 Jan 2024, at 10:32, Strahil Nikolov wrote: > > I haven't tested ignore-auto-dns but I will give it a try. > With dhcp-client , the request to the server can be fully controlled (like > ask for IP/mask, gate and dns servers only) and I was hoping it will help. If you go down the route

Re: How to disable DNS search received by DHCP

2024-01-28 Thread Strahil Nikolov via users
I haven't tested ignore-auto-dns but I will give it a try.With dhcp-client , the request to the server can be fully controlled (like ask for IP/mask, gate and dns servers only) and I was hoping it will help. Best Regards,Strahil Nikolov On Sun, Jan 28, 2024 at 12:26, Barry Scott wrote: --

Re: How to disable DNS search received by DHCP

2024-01-28 Thread Barry Scott
> On 28 Jan 2024, at 10:08, Strahil Nikolov wrote: > > Hi Barrу, > > Until yesterday /etc/resolv.conf was managed by systemd-resolved and I tried > the approach to ignore DNS settings from DHCP but no success. > I tried setting ipv4.dns-search to empty via nmcli but /etc/resolv.conf still >

Re: How to disable DNS search received by DHCP

2024-01-28 Thread Strahil Nikolov via users
Hi Barrу, Until yesterday /etc/resolv.conf was managed by systemd-resolved and I tried the approach to ignore DNS settings from DHCP but no success.I tried setting ipv4.dns-search to empty via nmcli but /etc/resolv.conf still had the search stanza. Does anyone know if dhcp-client is renamed or s

Re: How to disable DNS search received by DHCP

2024-01-28 Thread Barry Scott
> On 27 Jan 2024, at 14:19, Strahil Nikolov via users > wrote: > > Hi all, > > I am looking for some help to adjust systemd-resolved to still use DHCP (ip, > gateway and dns servers) but to avoid using the dns search provided over DHCP. > > The reason behind is that OKD4's coredns (Fedora C

Re: How to disable DNS search received by DHCP

2024-01-28 Thread Strahil Nikolov via users
Hi Tim, Yes the bug report is inevitable, maybe even 2 (NetworkManager is under suspicion too). I do control the DHCP and the DNS servers in my network and I did manage to make the DHCP stop proposing 'domain-search' and yet NetworkManager (after OKD update and my interventions with /etc/resolv.

Re: How to disable DNS search received by DHCP

2024-01-28 Thread Tim via users
On Sun, 2024-01-28 at 07:31 +, Strahil Nikolov via users wrote: > That's true but right now I have no control over OpenShift/OKD > behavior. Bug report... If it's a software fault, they may fix it. If it's not, they may point out where a configuration problem is. > I even managed to make my

Re: How to disable DNS search received by DHCP

2024-01-27 Thread Strahil Nikolov via users
Hi Jeffrey, That's true but right now I have no control over OpenShift/OKD behavior. I even managed to make my DNS stop sending 'domain-search' (clearly visible in the NM connection) but NM still applies the domain as such. On top of that I can't find dhcp-client in the repo ,which could be a poss

Re: How to disable DNS search received by DHCP

2024-01-27 Thread Jeffrey Walton
On Sat, Jan 27, 2024 at 9:19 AM Strahil Nikolov via users wrote: > > Hi all, > > I am looking for some help to adjust systemd-resolved to still use DHCP (ip, > gateway and dns servers) but to avoid using the dns search provided over DHCP. > > The reason behind is that OKD4's coredns (Fedora CoreO

How to disable DNS search received by DHCP

2024-01-27 Thread Strahil Nikolov via users
Hi all, I am looking for some help to adjust systemd-resolved to still use DHCP (ip, gateway and dns servers) but to avoid using the dns search provided over DHCP. The reason behind is that OKD4's coredns (Fedora CoreOS) appends the search stanza (first entry) that is taken from the host and then