PDA

View Full Version : How does DNS work?


davidd
10-13-2008, 08:16 PM
Amazing application, thank you. I have a question about DNS.

Is it possible for the gbridge client to act as a DNS server, such that if I have "foo" as one of my computers , then "foo" can be resolved with an nslookup?

Eg, this works just fine:

% ping foo.<username>.gbridge.net

Could this work too?

% ping foo

Thanks!
Dave

admin
10-14-2008, 12:39 AM
Glad to know you like Gbridge.

Yes, Gbridge application is acting as a DNS server, both ping commands should work.

ping foo.<username>.gbridge.net
ping foo.<username>

but 'ping foo' won't work.

davidd
10-14-2008, 10:11 AM
Ah, OK. I'm looking for a way to seamlessly switch from my office work environment, to my home "gbridge"-ed environment.

For example, my source code is checked out from "http://foo:8080/svn", and so when I go home, I have to change entries in my hosts file to make foo resolve correctly when I do "svn update". Another example; our build machine "bar" runs hudson, and we have links set up to point to "http://bar:8080/hudson".

So, "foo" and "bar" resolve correctly when at work on the office network, but not when at home connected via gbridge (as you explained).

Any ideas how to make this work better? *Could* gbridge resolve "foo" for me?

Thanks again
Dave D