We want to create a firefox extension for our Development Appliance. Is it possible to manually set the IP for an local domainname (e.g.: foo.user.develop.local) for the current request. So no line in the local hosts file or an entry in a DNS Server is needed?
Why i want to do so: We are creating a virtual appliance where different developers can develop different projects - Typically web applications. This appliance is usually installed on a local computer or on a server on the local network.
In this virtual appliance, it is very easy to add, edit and delete virtual hosts via an webinterface or CLI. For instance:
The name (Domain) of the appliance is for instance develop.local (192.168.1.1).
Hosts can be:
- host1.develop.local
- host2.develop.local
- webapp.develop.local
- ...
- webapp.user1.develop.local
- webapp2.user1.develop.loca
- foo.user2.develop.local
- ...
Anyway...
It would be very handy if those created hosts would be immediately available on any clients computer on the local network. Until now, after creating a new development host you had to add one line to the hosts file. Yes,... i know thats not really difficult but not everyone in a company is aware of how to doing that.
To use the appliance as a DNS Server is not viable because many companys have already their network infrastructure. And on a local computer its not very convenient to install a DNS Server and manage all those entries.
So it would be easier if one could edit these entries directly in firefox, or even better this extension is aware of the IP of the appliance and gets those hostnames and IPs automatically from the appliance, so a newly created host resolves right away without editing anything.
Because i am new to extension development for firefox i hope anyone can tell me if this is idea realizable or anyone has another idea how to achieve more convenience.
I am happy for any Solution or workarounds.
Best regards
