[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



    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


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00840" href="msg00840.html">[ale] desired resolve features</a></strong>
<ul><li><em>From:</em> dcorbin at machturtle.com (David Corbin)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00842.html">[ale] ping: dest unreachable, bad code:10</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00844.html">[ale] ssh - no spoofing check</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00840.html">[ale] desired resolve features</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00855.html">[ale] desired resolve features</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00843"><strong>Date</strong></a></li>
<li><a href="threads.html#00843"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>