Control Web Panel

WebPanel => DNS => Topic started by: vahidiravani on May 11, 2015, 08:04:49 AM

Title: One IP and DNS Error
Post by: vahidiravani 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 (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 :

(http://s6.uplod.ir/i/00596/its21ioputj2.jpg)


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
Title: Re: One IP and DNS Error
Post by: singhdd on May 11, 2015, 09:35:51 AM
Change second one to ns2.*** Keep the IP same. It will work fine.
Title: Re: One IP and DNS Error
Post by: vahidiravani on May 11, 2015, 09:45:17 AM
Thank You

it worked for me.