View Single Post
  #23  
Old 16th May 2008, 18:13
Bobonov Bobonov is offline
Junior Member
 
Join Date: May 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I made a ubuntu package for the latest stable mydns-ng version (1.2.7.1 2008-02-23 02:10). It install anyway as mydns and ispconfig recognize the service.
The problem is that I couldn't configure it since the ispconfig DNS configuration panel do not allow me to select a server, the select is empty therefore I can't add a zone. I select a server in others panels as the select is populated.
Problem
I wanted to update with the svn.tar.gz version and to test also there but no update.php script in it. :-(

So I went directly to the get it form the svn.
here everiting is fine but couldn't run either the install or the upgrade script because it say that ispconfig2 is installed.
I looked at the code and it simply check for
Code:
if(is_dir('/root/ispconfig') || is_dir('/home/admispconfig')) {
        die('This software can not be installed on a server wich runs ISPConfig 2.x.');
}
So it is simply impossible to upgrade a beta version since it only check for the presence of the configuration directory but not for the version.
Commented the code and went on with a fresh install (already un-installed the previous version) and now the server select under DNS tab is populated.

Using the server as dns I can resolve the base domain (mydomain.it) but couldn't resolve third level domain like www.mydomain.it

I configured as follow and as far as I remember dns con figuration it should be fine:
Zone
Server: Server
Client: XXXX
Zone (SOA): mydomain.it
NS: ns.mydomain.it
Email: postmaster.mydomain.it
Refresh: 28800 Seconds
Retry: 7200 Seconds
Expire: 604800 Seconds
Minimum: 86400 Seconds
TTL: 86400 Seconds
Xfer (IP): Allow zone transfers to this IP
Active: X

And there are the following records:
Code:
Active  	Type  		Name  		Data  	 
				
Yes 		A 		www 		public.ip.address
Yes 		CNAME 		mail 		www 
Yes 		MX 		mydomain.it 	mail.mydomain.it
Yes 		NS 		mydomain.it 	ns.mydomain.it
So resuming form remote connection using the server as dns I can correctly ping mydomain.it but I could not ping www.mydomain.it.
Running mydns in verbose (mydns -v) mode I have the following:

Code:
.......... IN A www.mydomain.it. REFUSED Zone_not_found 1 0 0 0 LOG N QUERY ""
.......... IN A www.mydomain.it. REFUSED Zone_not_found 1 0 0 0 LOG Y QUERY ""
Did I configured something wrongly or mydns is not getting correctly the table schema?
Reply With Quote