If you have trouble with NetworkManager overwriting your `search` and `domain` configuration after every startup and you’re using DHCP, add the following line to your `/etc/dhclient.conf`:
append domain-name " company.local other.company.local";
So whenever your DHCP server doesn’t provide these information (the one in my company does not), it’ll add this
domain company.local search company.local other.company.local
to your `/etc/resolv.conf`.