Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 16:09:32 +0100
From:      Jamie Paul Griffin <>
Subject:   Re: Openresolv Config
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
== Iqbal Aroussi wrote on Tue  7.Aug'12 at 14:00:06 +0000 ==

> Hi Matthew,
> Thank you so much for your quick reply.
> How Can I override using openresolv/resolvconf or configuring it for static
> IP on a server ?
> Currently my servers are configured with DHCP by the webhost company.
> I prefer to have them configured with static IP but right now I'm stuck on
> the openresolv problem.
> Do you know where can I find a openresolv howto for FreeBSD-9 please.
> Best Regards

You can set up a local DNS server using named. This is what I do for my mail server. I do use NetBSD on that machine though but the set up won't much different. You would need to configure your router to always assign the same ip to your machine and configure your network interface to use that ip, possibly within /etc/rc.conf. That way the dhclient won't override the entries you put in /etc/resolv.conf and /etc/nsswitch.conf when it boots-up. That might be a solution to your problem, perhaps others could confirm that for sure.


Want to link to this message? Use this URL: <>