PDA

View Full Version : Is there any canonical way to add search domain


3po
23rd December 2008, 04:15 AM
Hi, all

My System is Fedora Core 10.

I am using NetworkManager with dhclient to obtain my IP, nameservers and search domains. And i need to append some other search domains and dns servers into /etc/resolv.conf. After searching google, i found that there are lots of ways, but none of them works :(. So, is there any canonical way which can be trusted to do so ?


What I've tried:
1. add "DOMAIN=" into /etc/sysconfig/network-scripts/ifcfg-eth0
2. add "DOMAIN=" into /etc/sysconfig/network
3. Try to modify dhclient.conf, but it seems under control of NetworkManager and I've no idea what to do....

Thanks in advance.

3po
23rd December 2008, 11:22 AM
Resolved.Sorry for bothering.I accidentally remove eth0 from NetworkManager's control.