Hi,
I used the The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3] using Bind and Chroot. I got it all to install fine by changing the x64 to i386 where necessary. BUT I am getting this error - Error in named configuration:
/etc/named.conf.local:1: zone 'xyz.com': already exists previous definition: /var/named/chroot/etc/named.conf.local:1
------------------------
I bought a domain. xyz.com from enom. I added a name server at the registry to my IP address of 83.1.1.1.1 (not real but looks better than x.x.x!)
on my machine in my basement behind a firewall I have Bind, Apache, the lot on 192.168.2.9.
I have got Ispconfig working but have made a mess of something because i want to use xyz.com as both a ns1 on my local machine and also to use it as a www but the ns1.xyz.com does not dig or resolve . Later I will add wxyz.com to this when I get it working.
My trouble is that the ns1 is not working. when I run ...named restart I get this error -
Quote:
[root@server1 ~]# /etc/init.d/named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf.local:1: zone 'xyz.com': already exists previous definition: /var/named/chroot/etc/named.conf.local:1
[FAILED]
|
Now those files are sylinked as part of chroot.
When I remove the DNS Zone under DNS I get this:
Quote:
[root@server1 ~]# /etc/init.d/named restart
Stopping named: [ OK ]
Starting named: [ OK ]
|
Now here are my settings under dns-dns zone after I add a dns dzone using the DEFAULT wizard.
Quote:
DNS Zone
Template - Default
Server - server1.example.com <- I have changed this previously to server1.xyz.com all over the place but have changed it back.
Client - leave empty
Domain - xyz.com
IP Address - 83.1.1.1.1 <- I have also tried my internal ip of 192.168.2.1
NS 1 - ns1.xyz
NS 2 - ns2.someothercompany.com
Email - email@email.com
Create DNS Record Cancel
|
(dont know how to embed screenshots or I would have done that.
Now as this is a template it does create these when you go in and look. and yes it does put the "." after the .com
Quote:
A xyz.com. 192.168.2.9 0
A mail 192.168.2.9 0
A www 192.168.2.9 0
MX xyz.com. mail.xyz.com. 10
NS xyz.com. ns1.xyz.com. 0
NS xyz.com. ns2.another company.com. 0
|
So even if I delete it and created it with 83.1.1.1 (with the correct IP) it still gives the error.
I am sure if I can sort this out then I can get it all to work
Thanks for helping in advance.
Recent comments
7 hours 20 min ago
12 hours 13 min ago
21 hours 5 min ago
22 hours 5 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 6 hours ago
1 day 13 hours ago
1 day 22 hours ago
2 days 23 min ago