Page 1 of 1
feeding a DNS server
Posted: Fri Jul 12, 2013 1:53 pm
by Vegan
given a crude web form, box1 is the domain.net, box2 is the IP address
I can massage the form with JavaScript I guess to check for valid data, but how about feeding that to a DNS server
this is part of the stuff I want to assemble as I position my web server VM as a cloud service
generally for web hosting my server IP would be used for the domain.net box1, but if a different server is being used...
one problem I see a lot, is changing IP addresses when an ISP has to change gear etc
Re: feeding a DSN server
Posted: Fri Jul 12, 2013 3:01 pm
by requinix
So... what are you trying to solve?
Re: feeding a DSN server
Posted: Tue Jul 16, 2013 12:19 pm
by Vegan
mostly to deal with server outages etc
and moving web hosts from one server to another for upgrades etc
or even possibly using a bunch of servers
Re: feeding a DSN server
Posted: Tue Jul 16, 2013 12:39 pm
by requinix
The best I can figure you're saying is that you have/want to make a form that lets you configure the host entries in a DNS server. This is risky: your script will have to modify server configuration files and reload/restart the DNS daemon. All as root. And you want a web form to drive that?
The cloud works by funneling everything through a "single" lightweight chokepoint. Beyond that there can be one or more servers but that is entirely transparent to the outside world.
Like a load balancer: all activity goes through it and it decides where they go from there. If you add or remove servers that doesn't affect where activity goes because it all goes to the load balancer anyways. DNS requests still go to the load balancer which then distributes them to the server(s) actually handling it.
So:
- ISP "changing gear"? Not sure how that would affect you.
- Server outages? Load balancing.
- Moving hosts? Load balancing.
- Bunch of servers? Load balancing.
Re: feeding a DNS server
Posted: Tue Nov 05, 2013 7:08 pm
by Vegan
I was thinking about making a web server more ISP like so that taking in more development can be just another project in my development tools