Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I wanted to put this in the dhclient.conf file:

supersede domain-name "foo.org foo2.org";

but there is no dhclient.conf file...where is it? (Fedora14/GNOME)

share|improve this question
add comment

3 Answers

For NetworkManager managed ehternet ports, you might look for the file /var/run/nm-dhclient-ethX.conf.

share|improve this answer
add comment
up vote 0 down vote accepted
vim /etc/dhcp/dhclient-eth0.conf
share|improve this answer
add comment

I believe that you would use /etc/dhclient.conf which isn't created by default, so you would create it yourself of course.

From reading the dhclient man page, you could also run dhclient with the -cf flag to specify a config file.
For example:

dhclient -cf ~/dhclient.conf
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.