It is easier if you enable it through the network. Stop following the easiest.

> On May 27, 2024, at 03:46, Marc <m...@f1-outsourcing.eu> wrote:
> 
> Hi,
> 
> I was wondering if anyone knows how I could get this sortlist entry added to 
> an /etc/resolv.conf?
> 
> sortlist 192.168.x.0/255.255.255.0
> 
> Could it be that I maybe have 'older' cni drivers as from such a config below 
> I don't see search and domain being added to /etc/resolve.conf. I see however 
> this nameserver being added.
> 
> {
>  "name": "cni-test",
>  "type" : "mesos",
>  "delegate": {
> .
> .
> .
>    "ipam": {
> .
> .
>      "resolvConf": "/etc/resolv.conf",
>      "ranges": [
>      [
>        {
> .
> .
> .
>        }
>      ] ]
>    },
>    "dns": {
>      "nameservers": ["192.168.0.1"],
>      "search": ["local2"],
>      "domain": "thisdomain"
>    }
>  }
> }
> 
> 
> 
> 

Reply via email to