[ale] desired resolve features

Fletch fletch at phydeaux.org
Sat Oct 23 17:23:44 EDT 2004


>>>>> "David" == David Corbin <dcorbin at machturtle.com> writes:

    David> I'd like to be able to do two things: 1) in /etc/hosts, or
    David> a file like it, be able to enter a "CNAME" (alias) for
    David> another host that is resolved "traditionally".

    David> 2) be able to configure /etc/hosts-like settings on a
    David> per-user basis.

CNAME is a DNS thing.  /etc/hosts is only name => IP (and the
immediate reverse).  You might could do something evil using
LD_PRELOAD and overriding gethostbyname and friends.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
                      |  scary questions." -- Jules                =(___)=
                      |                                               U



More information about the Ale mailing list