Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

How do I replicate the result of this dns-sd command? #6

Open
ilpoldo opened this issue Dec 3, 2010 · 0 comments
Open

How do I replicate the result of this dns-sd command? #6

ilpoldo opened this issue Dec 3, 2010 · 0 comments

Comments

@ilpoldo
Copy link

ilpoldo commented Dec 3, 2010

dns-sd -P my_new_app _http local 80 my_new_app.local <my.dev.machine.ip>

You know, for the developers!
The commands is designed to register a proxy service, it does so by adding to the service this record in the mDNS soup:
my_new_app.local. 10 IN A <my.dev.machine.ip>

Let's assume you have the usual passenger setup with virtual hosts on your dev machine; this means that from the local network other browsers (like the one in your phone) can hit your dev app.
I just think that the A record is a bit brittle and not very mDSN like. I'm trying to figure out how to use this gem to do the same thing and eventually replace the A record with one or two CNAME.

The goal is to make something like:
my_new_app.local. 10 IN CNAME my_dev_book.local.

mobile.my_new_app.local. 10 IN CNAME my_dev_book.local.

My feeling is that a snippet that can achieve this inside this gem's example folder would prove really useful to many.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant