[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] R3/R4 Bug DNS GUI



Hi Barry,

Thank you for your bug report.

> I have reported this bug some time ago yet its still not fixed.
I am very sorry for this.

> Goto your dns gui to add a domain
> and then add any record to any domain with a <number in the first char>
> 
> like  4car.co.uk
> 
> the /etc/named/records file shows
> 
> secondary - 4car.co.uk 195.52.73.20 -
> 
> and the dns would work if this was submitted. but in the GUI
> you cant see this domain  as its listed as  .../-
> and the scripts fail in a way that you cant edit it delete it or do 
> anything with it.
> 
> the only way to remove it is to edit the files in /etc/named using vi
> 
> anyone have a fix ?  Please

I was able to successfully reproduce your problem.
I have researched and have come up with a very simple solution which I have 
forwarded to the person responsible for maintaining this part of the UI.

If you are experienced enough to use vi, you can do the change yourself by 
editting /usr/admserv/cgi-bin/.cobalt/dns/index.cgi

Then search for the line containing "type eq 'seco"

In this line, please change $domain =~ /^[\d\.]+/ to $domain =~ /^[\d\.\/]+$/'

I've urged engineering to release a patch to correct this issue asap, so if you 
don't have this problem, please do not modify this and wait until the patch is 
released.

With regards,

Taco Scargo

Professional Services Manager, EMEA

Sun Microsystems		Tel. +31 (71) 565 7021
Sun Cobalt Server Appliances	taco.scargo@xxxxxxx