Hi Everyone. Please help!
For the past 7-weeks, I have been trying, desperately, to troubleshoot my Ubuntu Authoritative-Only server (using Ubuntu 16.04.1) and it is still not working, and I cannot figure out what is wrong.
These are the particulars:
My static IP address (from Bright House Networks) is 50.xx.xx.214. Bright House Networks also supplied values for my router (connection status) are as follows:
IP address: 50.xx.xx.214;
Subnet mask: 255.255.255.252;
Default gateway: 50.xx.xx.213;
DNS server: 75.xxx.xx.1 and 75.xxx.xx.2
My Netgear Router has different values (I assume) for local network configuration. I have assigned a local Static IP for the Master Server. It is 192.168.0.2 and for the Slave, 192.168.0.9
My Apache-Based website is "unreachable" when I enter "www.aglowintheknight.com" is every browser (Edge, Firefox, Chrome, IE, etc).
I tested the integrity of my DNS system via intodns.com and wormly.com, and all test failed.
Errors include "Failed to resolve server hostname"; Mismatched NS records; Missing nameservers reported by your nameservers, No valid SOA record came back, one or more of your servers did not respond, etc."
Some of my setup files are as follows:
(1)
glkglen@ns1:~$ sudo cat /etc/hosts
[sudo] password for glkglen:
127.0.0.1 localhost
50.xx.xx.214 ns1.aglowintheknight.com ns1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
glkglen@ns1:~$
(2)
glkglen@ns1:~$ sudo cat /etc/bind/zones/db.aglowintheknight.com
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns1.aglowintheknight.com. admin.aglowintheknight.com. (
9 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
; Name servers
; aglowintheknight.com. IN NS ns1.aglowintheknight.com.
; aglowintheknight.com. IN NS ns2.aglowintheknight.com.
@ IN NS ns1.aglowintheknight.com.
@ IN NS ns2.aglowintheknight.com.
; A records for the name servers
ns2 IN A 50.xx.xx.213
ns1 IN A 50.xx.xx.214
; Other A records
@ IN A 50.xx.xx.214
www IN A 50.xx.xx.214
;www IN A 192.168.0.2
@ IN A 192.168.0.2
glkglen@ns1:~$
(3)
glkglen@ns1:~$ sudo cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0
iface enp2s0 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1 192.168.0.2 50.xx.xx.214
dns-domain aglowintheknight.com
dns-search aglowintheknight.com
glkglen@ns1:~$
(4)
glkglen@ns1:~$ sudo cat /etc/resolv.conf
[sudo] password for glkglen:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.0.1
nameserver 192.168.0.2
nameserver 50.xx.xx.214
search aglowintheknight.com
glkglen@ns1:~$
My registrar is EasyDNS.com where a glue record has been created as follows:
ns1.aglowintheknight.com/50.xx.xx.214
ns2.aglowintheknight.com/50.xx.xx.213
I will be thankful for some help with correcting the problems with my setup that are preventing me from running a "working dns" and accessing my website courtesy of the Apache webserver on the same machine / server with the local static IP, 192.168.0.2.
I've read everything in sight, and ran all kinds of recommended tests to NO avail. Thanks for your help. It is greatly appreciated.
Glenoaks
For the past 7-weeks, I have been trying, desperately, to troubleshoot my Ubuntu Authoritative-Only server (using Ubuntu 16.04.1) and it is still not working, and I cannot figure out what is wrong.
These are the particulars:
My static IP address (from Bright House Networks) is 50.xx.xx.214. Bright House Networks also supplied values for my router (connection status) are as follows:
IP address: 50.xx.xx.214;
Subnet mask: 255.255.255.252;
Default gateway: 50.xx.xx.213;
DNS server: 75.xxx.xx.1 and 75.xxx.xx.2
My Netgear Router has different values (I assume) for local network configuration. I have assigned a local Static IP for the Master Server. It is 192.168.0.2 and for the Slave, 192.168.0.9
My Apache-Based website is "unreachable" when I enter "www.aglowintheknight.com" is every browser (Edge, Firefox, Chrome, IE, etc).
I tested the integrity of my DNS system via intodns.com and wormly.com, and all test failed.
Errors include "Failed to resolve server hostname"; Mismatched NS records; Missing nameservers reported by your nameservers, No valid SOA record came back, one or more of your servers did not respond, etc."
Some of my setup files are as follows:
(1)
glkglen@ns1:~$ sudo cat /etc/hosts
[sudo] password for glkglen:
127.0.0.1 localhost
50.xx.xx.214 ns1.aglowintheknight.com ns1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
glkglen@ns1:~$
(2)
glkglen@ns1:~$ sudo cat /etc/bind/zones/db.aglowintheknight.com
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns1.aglowintheknight.com. admin.aglowintheknight.com. (
9 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
; Name servers
; aglowintheknight.com. IN NS ns1.aglowintheknight.com.
; aglowintheknight.com. IN NS ns2.aglowintheknight.com.
@ IN NS ns1.aglowintheknight.com.
@ IN NS ns2.aglowintheknight.com.
; A records for the name servers
ns2 IN A 50.xx.xx.213
ns1 IN A 50.xx.xx.214
; Other A records
@ IN A 50.xx.xx.214
www IN A 50.xx.xx.214
;www IN A 192.168.0.2
@ IN A 192.168.0.2
glkglen@ns1:~$
(3)
glkglen@ns1:~$ sudo cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0
iface enp2s0 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1 192.168.0.2 50.xx.xx.214
dns-domain aglowintheknight.com
dns-search aglowintheknight.com
glkglen@ns1:~$
(4)
glkglen@ns1:~$ sudo cat /etc/resolv.conf
[sudo] password for glkglen:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.0.1
nameserver 192.168.0.2
nameserver 50.xx.xx.214
search aglowintheknight.com
glkglen@ns1:~$
My registrar is EasyDNS.com where a glue record has been created as follows:
ns1.aglowintheknight.com/50.xx.xx.214
ns2.aglowintheknight.com/50.xx.xx.213
I will be thankful for some help with correcting the problems with my setup that are preventing me from running a "working dns" and accessing my website courtesy of the Apache webserver on the same machine / server with the local static IP, 192.168.0.2.
I've read everything in sight, and ran all kinds of recommended tests to NO avail. Thanks for your help. It is greatly appreciated.
Glenoaks