Author Topic: How to Setup DNS (BIND) on server  (Read 49341 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: How to Setup DNS (BIND) on server
« Reply #15 on: June 01, 2017, 02:32:06 AM »
hi everyone i facing some problems. İ can not use pureftpd and dns. they always failed. when i try to restart ftp the system says

"Job for pure-ftpd.service failed because the control process exited with error code. See "systemctl status pure-ftpd.service" and "journalctl -xe" for details.

and this is how looks like my controlpage.

please someone help me !  :( :( :( :(

Offline
*
Re: How to Setup DNS (BIND) on server
« Reply #16 on: July 25, 2017, 05:24:59 PM »
I think I've set up DNS correctly, but when I go to the registrar for my hosted domain broadey.co.uk I get an unhelpful message "error setting nameservers" when I try to set them to ns1.breit.co.uk and ns2.breit.co.uk (breit.co.uk is my CWP hosting domain name, which is on a PlanetHippo.co.uk VPS) at the registrar for that domain (which is 123-reg.co.uk).

If I do "nslookup broadey.co.uk ns1.breit.co.uk" then I get the right answer, so I must be doing something right.

The tutorials and other info are really poor.  The examples talk about setting your CWP nameservers to "n1.centos-webpanel.com" but that seems plain wrong - surely you need to be using the domain name of your CWP host (which in my case is webpanel.breit.co.uk, though I've added A records for ns1 and ns2 at the registrar for that domain).

I used CWP -> DNS Functions -> Edit Nameservers IPs to set them to ns1.breit.co.uk and ns2.breit.co.uk using the public IP address of my VPS.  In CWP -> DNS Function -> List DNS Zones this gives me zones for ns1.breit.co.uk and ns2.breit.co.uk.

I then created an account for broadey.co.uk.  This gives me a zone file broadey.co.uk.db containing
Code: [Select]
broadey.co.uk.      86400      IN      NS      ns1.breit.co.uk.
broadey.co.uk.      86400      IN      NS      ns2.breit.co.uk.
but in line with the instructions in this post I added
Code: [Select]
ns1     14400   IN      A       78.129.139.89
ns2     14400   IN      A       78.129.139.89
and restarted BIND.  None of this has helped.  I still can't set ns1.breit.co.uk as the nameserver for broadey.co.uk at the registrar 123-reg.co.uk.  What is it that the registrar is looking for that I am failing to provide?

Create a glue record for your ns.

Offline
**
Re: How to Setup DNS (BIND) on server
« Reply #17 on: July 26, 2017, 10:08:39 AM »
hi everyone i facing some problems. İ can not use pureftpd and dns. they always failed. when i try to restart ftp the system says

"Job for pure-ftpd.service failed because the control process exited with error code. See "systemctl status pure-ftpd.service" and "journalctl -xe" for details.

and this is how looks like my controlpage.

please someone help me !  :( :( :( :(

simple restart service and run this command from shell to check error you get
Code: [Select]
journalctl -xe
also service status button should give you some additional info.
CWP server provider with included FREE Managed support.
http://www.studio4host.com/