Currently if cleanedResolvConf is Nil, DNS will be set to default {8.8.8.8, 4.4.4.4} which may not work in some private cluster with no public network...
I think it can be configurable, or add a parameter, like userDNS, to function FilterResolvDNS. When userDNS is not Nil, use it instead of defaultDNS.
Currently if
cleanedResolvConfis Nil, DNS will be set to default{8.8.8.8, 4.4.4.4}which may not work in some private cluster with no public network...I think it can be configurable, or add a parameter, like
userDNS, to functionFilterResolvDNS. WhenuserDNSis not Nil, use it instead ofdefaultDNS.