Connection priority for DNS (sorry)



Hi,


(I know, priority of connections seems to be a recurring object of confusion...)


When automatically filling resolv.conf (with red hat plugin at least), it seems ifcfg-* connection files get treated in alphabetical order.


Thus, if I have:

- ifcfg-a containing DNS1=256.256.256.256 and DNS2=257.257.257.257

- ifcfg-b containing DNS1=258.258.258.258 and DNS2=259.259.259.259


Then the resolv.conf will contain, in this order:


nameserver 256.256.256.256

nameserver 257.257.257.257

nameserver 258.258.258.258

#additional follow:

nameserver 259.259.259.259


What if I wanted:


nameserver 258.258.258.258

nameserver 259.259.259.259

nameserver 256.256.256.256

#additional follow:

nameserver 257.257.257.257


without having to do it manually with dns=none, and without having to rename the connections?


Thanks,


Benjamin Lefoul

nWISE AB



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]