On Wednesday, 31 August 2005, at 11:59:43 (+0900),
Carsten Haitzler wrote:

> how many people do dns via nis/yp or ldap? sure - nice theory - but
> actually do dns VIA that? i knwo dns servers are oftne BACKED by
> ldap as such - but other than very specific special cases in niche
> areas - actual dns VIA nis/yp or ldap... i don't know.

It's not DNS via NIS/YP.  It's name resolution via NIS/YP.  It's
really no different than using /etc/hosts.  Just like /etc/passwd is
the local file which can supplement NIS or LDAP account info,
/etc/hosts can supplement NIS/LDAP host resolution.  And yes, it's
done, usually in Windows-centric (Active Directory) setups that want
to use WINS and ADS without having to set up DNS.

> AFTER seb had written the dns procotol handling that came to mind and i
> suggested it... but i have to say i respect seb's work on doing th edns
> protocol handling and reading the rfc's etc. and i dont see just nuking the
> code as good. i am leaving it in seb's hands for now. it needs completeness
> handling. i dont see ldap/nis/yp as usefully worth implementing and if you
> happen to have a system with these setups - then fall back to blocking
> gethostbyname is an option :) something about a librarye forking off child
> processes seems a bit evil to me - and thus i hesitate on it. but then again
> re-implementing dns is evil too :)

Yeah, it's a lesser of two evils thing.  The problem with the current
method is that the standard dictates checking nsswitch *before* doing
the lookup and potentially not using DNS at all.  Honestly I think
forking a new process/thread (just fork(), no exec(), maybe vfork() if
possible?) is cleaner than trying to re-implement not only DNS but
nsswitch too.

> that's possible - but its a service that has to sit around and be
> managed. i'd much sooenr go with the fork off a child to dns lookup
> via gethostbyname then punt the retuned data via fd back to the
> parent method long before this :)

Fair enough. :)

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "I want to stand with you on a mountain.  I want to bathe with you
  in the sea.  I want to lay like this forever, until the sky falls
  down on me."                -- Savage Garden, "Truly, Madly, Deeply"


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to