Author Topic: Bind DNS(Nameserver is unreachable.)  (Read 3423 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Bind DNS(Nameserver is unreachable.)
« on: September 17, 2020, 02:31:24 AM »
Good day!

I would like to on how to bind dns to a NAT? Our old server was using a pulbic IP but due to change in service providers, we were given only an option to do port forwarding.

So I have set up the NAT configuration at the CWP Settings and changed the zone for my domain.

Our current zone for the domain is this
Code: [Select]
; Generated by CWP
; Zone file for slsu.edu.ph
$TTL 14400
slsu.edu.ph.      86400        IN      SOA     ns1.slsu.edu.ph. mrveeen05.gmail.com. (
2013071600      ; serial, todays date+todays
86400           ; refresh, seconds
7200            ; retry, seconds
3600000         ; expire, seconds
86400 )         ; minimum, seconds

slsu.edu.ph. 86400 IN NS ns1.slsu.edu.ph.
slsu.edu.ph. 86400 IN NS ns02.slsu.edu.ph.

slsu.edu.ph. IN A xxx.xxx.xxx.xxx (NAT IP)

localhost.slsu.edu.ph. IN A 127.0.0.1

slsu.edu.ph. IN MX 0 slsu.edu.ph.
mail IN CNAME slsu.edu.ph.
www IN CNAME slsu.edu.ph.
ftp IN CNAME slsu.edu.ph.
; Add additional settings below this line
_dmarc 14400 IN TXT "v=DMARC1; p=none"

When I try to access the website at http://leafdns.com/, I am still prompted with Nameserver is unreachable

Aside from this, after changing the default configuration in our dns, the BIND DNS Server in the dashboard went to Failed Status with error

Code: [Select]
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
Now I am lost as to why this all happened.


Offline
*****
Re: Bind DNS(Nameserver is unreachable.)
« Reply #1 on: September 17, 2020, 06:18:42 AM »
don't know nothing is provided from log