Re: alternative to /etc/hosts
Re: alternative to /etc/hosts
- Subject: Re: alternative to /etc/hosts
- From: Josef Andrysek <email@hidden>
- Date: Thu, 16 Aug 2007 00:11:42 +0200
Thanks to all,
On another list, I got a suggestion that Bonjour lets me register
domains .local using DNSServiceRegisterRecord. This should maybe help
me.
The idea of creating a "NAT" is also very good and i will use it if
DNSServiceRegisterRecord will not help me.
Best
Josef
On Aug 15, 2007, at 12:54 AM, Philip D. Wasson wrote:
On Aug 14, 2007, at 17:20, Josef Andrysek wrote:
Hi,
the problem is that I want my application to run on clients
computers and I can not want them to configure something.
Do the libraries that you're calling accept ports in addition to
host names? If so, perhaps you could always give "localhost" to the
libraries plus a port that your app is listening on. When the
library connects to the specified port, your code would open a
connection to the desired host and pass data between the two
connections, kind of like a NAT server. You'd probably need one
listening port per mapped service.
On Aug 13, 2007, at 11:56 PM, Nathan Duran wrote:
Hi All,
I need to dynamically define a dns records, which will be
valid for
my application only.
Writing into /etc/hosts solves this problem only partially. It is
valid for all applications and it requires root permissions to
write
something into /etc/hosts.
Is there please any possible solution? My application uses some
third-party libraries, so I can not simply change the code
responsible for domains resolving.
Thanks
Josef
You can easily configure BIND to allow dynamic updates, but I'm
not sure how
you would go about limiting the records' resolvability to one
specific
application.
--
Nathan S. Duran
Principal
KHI Ltd. Co., LLC
www.khiltd.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
----------------------------------------
Philip D. Wasson
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden