![]() |
Manual lines in DNS zone file - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: Manual lines in DNS zone file (/thread-3727.html) |
RE: Manual lines in DNS zone file - sci2tech - 11-12-2008 04:26 AM (11-11-2008 03:09 PM)Blondak Wrote: competitive records, in DNS you can have more records with same name (load balancing), should we allow them?I vote to allow them but ip must be checked to differ. (11-11-2008 03:09 PM)Blondak Wrote: Maybe we can do more input checks (now are there only basic and if you want add specific records you must know what are you doing) ,sure we must add more checks: Some limits that i have added: For Cname A and AAAA dns_name must be only subnode of domain. SRV -> dns_srv_host must be fqdn. (11-11-2008 03:09 PM)Blondak Wrote: but it need discussion, so I hope that this patch will be in trunk as soon as possible.It will be ![]() About using Net_DNS i have doubts, I think that we must to limit dependinces to minimum, but if is needed it will be added. Also I`m not a good theoretician of DNS so any help will be appreciated ![]() RE: Manual lines in DNS zone file - Blondak - 11-12-2008 05:47 AM (11-12-2008 04:26 AM)sci2tech Wrote: I vote to allow them but ip must be checked to differ. I think about it, and maybe we can ask user "Do you realy want competitive record? No/Yes". (11-12-2008 04:26 AM)sci2tech Wrote: sure we must add more checks: dns_name is allways subnode in this case. SRV -> dns_srv_host, not sure about needs of fqdn, i think that this record will use only users, that knows how DNS works. Maybe we can check, if entered record doesnt end with dot and ask user if is it right. I agree, next about i think is that we can allow only certain record types (eg. only A and CNAME ) per user. What do you think? (11-12-2008 04:26 AM)sci2tech Wrote: About using Net_DNS i have doubts, I think that we must to limit dependinces to minimum, but if is needed it will be added. Also I`m not a good theoretician of DNS so any help will be appreciated OK, i can use some shell script ( using /usr/bin/host ), if you want, but i don't known what is better (Net_DNS vs. exec), or we can import only part of Net_DNS into ISPCP. RE: Manual lines in DNS zone file - lschafroth - 11-12-2008 06:29 AM (11-11-2008 02:48 AM)Blondak Wrote: it depends if you want apply patch to allready installed system or to fresh system. I applied your basic-dns-trunk-patch.txt. It asked for the path to db_e.tpl about 6 or 7 times and I put in the path each time. I now have the option to enable manual DNS in the hosting plan. When I add a domain I get: http://webhost.adlsolutions.net/reseller/orders_add.php?order_id=1 00000 - 1065 - Query was empty Lannie PS Applied this to a fresh RC6 install. RE: Manual lines in DNS zone file - Blondak - 11-12-2008 04:52 PM (11-12-2008 06:29 AM)lschafroth Wrote: I applied your basic-dns-trunk-patch.txt. It asked for the path to db_e.tpl about 6 or 7 times and I put in the path each time. I now have the option to enable manual DNS in the hosting plan. Did you update ISPCP DB? Log into http://webhost.adlsolutions.net/pma, open ISPCP database and execute following command Code: CREATE TABLE IF NOT EXISTS `domain_dns` ( ![]() RE: Manual lines in DNS zone file - Blondak - 11-12-2008 06:35 PM Patch "basic-dns-support-trunk-CNAME-check.patch.txt" broke somethinks, don not apply this one, if you already apply, revert it back ( patch -R ) and use this attached one. Patch also add check if dns_name is valid (part of domain) RE: Manual lines in DNS zone file - lschafroth - 11-13-2008 12:38 AM (11-12-2008 04:52 PM)Blondak Wrote: Did you update ISPCP DB? OH MY!!! I've redone my setup so many times I forgot to do that part again!!! ![]() Sorry! Lannie RE: Manual lines in DNS zone file - hnn - 11-20-2008 07:28 PM Looking forward to see this ![]() RE: Manual lines in DNS zone file - kaotix - 12-12-2008 04:15 AM This is possibly the best thing for ISPCP. It's something that i've actually been working on privately for a while and I think mine works a little better but this is still a very good effort. If I get chance I will post what I've made but most of it was done manually so I'd have to find what I did and some how make it into a patch? Are you still developing this Blondak? RE: Manual lines in DNS zone file - TXC - 12-22-2008 02:46 AM Any update to RC7 ? RE: Manual lines in DNS zone file - sci2tech - 12-22-2008 03:41 AM Updated to r1446. I did not included in RC7 because things can be easy broken by clients that do not know what DNS is ![]() |