After dealing with subdomain issues for the umpteenth time, I'd like to get some input from people before I make this a formal feature request - and make sure that I understand how the subdomain adder works behind the scenes.
The continual issue with the resolv.conf error tells me there is a problem somewhere. This error will occur on a server where some accounts can add subs without any problem whatsoever - whether subdomains have been specifically enabled or not - and others simply cannot add them, no matter what. Obviously, there is no real problem with resolv.conf, nor is there a problem with the domains themselves not resolving, since they do. In addition, when using the move script between servers, we noted that accounts with subdomains would have some of those subs created without issue, and other, already-existing subs on the same account simply would not be created - they generated the resolv.conf error, which further tells me that it is a bogus message.
I'd like to know what the script does when it tries to add a subdomain. What exactly is it checking for when it runs? If it is trying to resolve the domain to an IP, why isn't it finding it for some when it finds it for others on the very same servers? Is it trying to check against local named or against the master nameserver (if in a cluster)?
What I'd like to see, dependent on the answers to the above, is the system simply look against local named (or even httpd.conf, since that would have the IP associated with a domain that is already set up), get the IP, and set up the subdomain appropriately with all of the relevant entries. If the account already has one or more subs set up, then it can grep against the zone file directly to see the IP address and then make the appropriate entries for the new sub to be added.
I like the subdomain adder, I really do - when it works. However, it's about 50-50 on the actual working part, and when it doesn't work, it's like being back at Alabanza and having to do them all manually.
If anyone else has some thoughts (not rants, please - do that elsewhere) about this function, please feel free to join in. I would like to get something from the horse's mouth (so to speak) about how the sub adder actually functions to get a better feel for that and for how a feature request should be worded to get the most effective use out of this function.
Thanks.
The continual issue with the resolv.conf error tells me there is a problem somewhere. This error will occur on a server where some accounts can add subs without any problem whatsoever - whether subdomains have been specifically enabled or not - and others simply cannot add them, no matter what. Obviously, there is no real problem with resolv.conf, nor is there a problem with the domains themselves not resolving, since they do. In addition, when using the move script between servers, we noted that accounts with subdomains would have some of those subs created without issue, and other, already-existing subs on the same account simply would not be created - they generated the resolv.conf error, which further tells me that it is a bogus message.
I'd like to know what the script does when it tries to add a subdomain. What exactly is it checking for when it runs? If it is trying to resolve the domain to an IP, why isn't it finding it for some when it finds it for others on the very same servers? Is it trying to check against local named or against the master nameserver (if in a cluster)?
What I'd like to see, dependent on the answers to the above, is the system simply look against local named (or even httpd.conf, since that would have the IP associated with a domain that is already set up), get the IP, and set up the subdomain appropriately with all of the relevant entries. If the account already has one or more subs set up, then it can grep against the zone file directly to see the IP address and then make the appropriate entries for the new sub to be added.
I like the subdomain adder, I really do - when it works. However, it's about 50-50 on the actual working part, and when it doesn't work, it's like being back at Alabanza and having to do them all manually.
If anyone else has some thoughts (not rants, please - do that elsewhere) about this function, please feel free to join in. I would like to get something from the horse's mouth (so to speak) about how the sub adder actually functions to get a better feel for that and for how a feature request should be worded to get the most effective use out of this function.
Thanks.