9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cs lookup feature
@ 2005-10-07 17:57 Russ Cox
  2005-10-07 19:24 ` lucio
  0 siblings, 1 reply; 2+ messages in thread
From: Russ Cox @ 2005-10-07 17:57 UTC (permalink / raw)
  To: 9fans

now on sources.  if you add entries like

sys=b dom=b-long-name.some.other.domain.com

(without an ip= attribute) then cs will fill
in the ip attribute using dns.  this is useful
if you can't arrange to be running dns out
of your ndb files but want to set up local aliases.

now if only i could figure out how to do this in unix.

russ


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] cs lookup feature
  2005-10-07 17:57 [9fans] cs lookup feature Russ Cox
@ 2005-10-07 19:24 ` lucio
  0 siblings, 0 replies; 2+ messages in thread
From: lucio @ 2005-10-07 19:24 UTC (permalink / raw)
  To: 9fans

> now if only i could figure out how to do this in unix.

b		CNAME	b-long-name.some.other.domain.com.

where "b" is in your local domain zone.  Not elegant, not portable,
but effective.

Another, even more evil option, is $HOSTALIASES and the file it points
to.  Be afraid, be very afraid :-)

++L



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-07 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-07 17:57 [9fans] cs lookup feature Russ Cox
2005-10-07 19:24 ` lucio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).