Hi,
I ran into a weird problem on 11.4 as following:
I customized /etc/sysconfig/network/scripts/dhcpcd-hook to append:
MODIFY_RESOLV_CONF_DYNAMICALLY=“yes”
NETCONFIG_DNS_STATIC_SEARCHLIST=“mydomain.com”
NETCONFIG_DNS_STATIC_SERVERS=“my dns ip”
dynamically to /etc/sysconfig/network/config
Then run “rcnetwork restart”. The hook works and config file is corret, however /etc/resolv.conf is weird:
search .com # the search domain is truncated!
nameserver my.dns.ip.address
Then I disable the dhcp hook and redo the same thing. Whie /etc/sysconfig/network/config is statically speificied:
MODIFY_RESOLV_CONF_DYNAMICALLY=“yes”
NETCONFIG_DNS_STATIC_SEARCHLIST=“mydomain.com”
NETCONFIG_DNS_STATIC_SERVERS=“my dns ip”
/etc/resolv.conf is correct:
search mydomain.com
nameserver my.dns.ip.address
I guess something is triggered after dhcp hook appends the parameters, right?
Gnep