• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting the Rendezvous Interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the Rendezvous Interface


  • Subject: Re: Setting the Rendezvous Interface
  • From: Marc Krochmal <email@hidden>
  • Date: Fri, 8 Apr 2005 14:09:41 -0700

Hi Steve,

On Apr 8, 2005, at 1:49 PM, Steve Sisak wrote:

On a single-link multihomed system is it possible to specify which interface to use for Rendezvous, independent of the "default" interface.

Here's the situation:

I have a bridged DSL connection with multiple (8) public IP addresses.

I also have a 10.x.x.x network for internal communication -- all of my machines have are on the internal network, but some also have public IP addresses.

I would like my public machines to use their public address as the default interface (so hostname is correct) but advertise their internal IP address over Rendezvous so that internal traffic doesn't have to go through the router.

For instance:

  splinter.ioxperts.com has address 66.92.79.84
  splinter.local.       has address 10.xx.xx.84

(I realize this is somewhere between a user and a programming question, but this seems like the most appropriate list)

There's no built-in way to accomplish this. By default, the machine will register an address record for "splinter.local" that points to both 66.92.79.84 and 10.xx.xx.84, so when an application resolves your hostname, it will get both of these IP addresses, and most applications just use the first IP address returned.


So you could either hack the mDNSResponder to only advertise IP addresses that begin with 10.x.x.x, or you could register a different hostname, like "splinterprivate.local" that maps to your 10.x.x.x address. You would do this by using DNSServiceRegisterRecord() in / usr/include/dns_sd.h.

Best Regards,

-Marc

_______________________________________________
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


References: 
 >CFHost and Rendezvous names (From: Tomas FranzĂ©n <email@hidden>)
 >Re: CFHost and Rendezvous names (From: Marc Krochmal <email@hidden>)
 >Setting the Rendezvous Interface (From: Steve Sisak <email@hidden>)

  • Prev by Date: Setting the Rendezvous Interface
  • Next by Date: Re: CFHost and Rendezvous names
  • Previous by thread: Setting the Rendezvous Interface
  • Next by thread: Re: CFHost and Rendezvous names
  • Index(es):
    • Date
    • Thread