Author Topic: One IP and DNS Error  (Read 4247 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
One IP and DNS Error
« on: May 11, 2015, 08:04:49 AM »
Hi.
thanks for free and very good Web Panel.
I'm new in CentOS Web Panel.

when I start Bind DNS Server I have this Error :
Code: [Select]
Starting named:
Error in named configuration:
/etc/named.conf:47: zone 'ns1.callisto.ir': already exists previous definition: /etc/named.conf:46
[FAILED]

as you say in this link :
http://wiki.centos-webpanel.com/how-to-setup-name-servers

Quote
If you are using one IP then it should looks like:
ns1.demo.com --> 185.4.149.83
ns1.demo.com --> 185.4.149.83

this is my NameServer IPs :




and this is my DNS zone in "Callisto.ir" domain :
Code: [Select]
ns1     14400   IN      A       88.198.86.104
ns1     14400   IN      A       88.198.86.104

my domain dns is :
ns1.callisto.ir 88.198.86.104
ns1.callisto.ir 88.198.86.104

I have one IP for server.

How can i resolve this error?

Thanks
« Last Edit: May 11, 2015, 08:13:26 AM by vahidiravani »

Offline
*
Re: One IP and DNS Error
« Reply #1 on: May 11, 2015, 09:35:51 AM »
Change second one to ns2.*** Keep the IP same. It will work fine.

Offline
*
Re: One IP and DNS Error
« Reply #2 on: May 11, 2015, 09:45:17 AM »
Thank You

it worked for me.
« Last Edit: May 11, 2015, 10:23:59 AM by vahidiravani »