[RFC] Automated generation of /etc/resolv.conf from the rc.d script

Wesley Shields wxs at atarininja.org
Thu Dec 20 08:25:34 PST 2007


On Thu, Dec 20, 2007 at 10:42:07AM +0000, Roy Marples wrote:
> > Hi Eygene. You might get some ideas from this implementation then:
> > http://packages.debian.org/sid/resolvconf
> > At least it contains those ugly sed expression to edit forwarders in a 
> > named.conf.
> 
> You may also want to look at openresolv, which is a resolvconf implementation
> that works on FreeBSD as well as Linux.
> http://roy.marples.name/node/343
> 
> I keep meaning to make a request to put that into ports :)
> 
> Thanks
> 
> Roy

[ Moving off current@ and onto ports@ ]

I've took a stab at it[1].  If you have a FreeBSD box handy and can test
it out I'll be glad to receive feedback.  I've never used openresolv nor
do I have a use for it at the moment.  I'm not sure if my removal of the
symlink was the right thing to do or not since I'm not familiar with how
the software works.  Can you test out the port and let me know if it
works normally?

Also, if you want to be the maintainer I can change it to your address
if I send a PR for it.

-- WXS

[1]: http://www.atarininja.org/~wxs/patches/openresolv.shar - Just cd
/usr/ports/dns && sh /path/to/openresolv.shar


More information about the freebsd-ports mailing list