[RFC] Automated generation of /etc/resolv.conf from the
rc.d script
Wesley Shields
wxs at FreeBSD.org
Mon Apr 28 15:58:03 UTC 2008
On Mon, Apr 28, 2008 at 06:13:46PM +0300, Mike Makonnen wrote:
> Poul-Henning Kamp wrote:
>> In message <+rkPaEJgDwWM+WmNdLneOfPN6Ps at sTlCVUsSEVReKIVdz1gJKNXWeKE>, Eygene Ry
>> abinkin writes:
>>
>>>> I think this is a much needed facility. Some ISP's block DNS queries
>>>> from private customers to force them to use the ISP's DNS and
>>>> not having this forces a cumbersome manual configuration.
>>> Hmm, my patch does not change anything in the respect to the ISP's
>>> DNS servers: resolv.conf or BIND will use the nameservers given by
>>> DHCP or manually configured via /etc/rc.conf.
>>
>> That's the point: You get the DNS server IPs from your ISP using
>> DHCP :-)
>>
>
> Eygene,
>
> Have you looked at openresolv (http://roy.marples.name/openresolv)? I
> installed it on my laptop a while back and I'm pretty happy with it, but
> haven't been able to take it any further wrt FreeBSD (ENOTIME). I think it
> solves all your problems and one that I haven't seen addressed yet: domain
> specific dns servers. For example, it's very useful for when I have a wired
> interface connecting to my local network with its own name servers and and
> a wireless interface connected to the internet. As things stand now when I
> get my dhcp lease from the wireless AP it overwrites my wired interface's
> name server settings. However, with openresolv both can coexist together.
> Plus it's BSD licensed.
And it is in ports (dns/openresolv), fairly recent addition. The
maintainer is also the author and is responsive to the few interactions
I had with him while initially helping to port it.
-- WXS
More information about the freebsd-current
mailing list