I have a domain name: http://www.mizfitz.org/ and I have a dynamic IP address so I use ZoneEdit.com Name Servers (ns3.zoneedit.com and ns12.zoneedit.com). I installed BIND and set up my named.conf and zone files.
I can access my httpd index.html by visiting http://192.168.2.5/ in a web-browser, but http://www.mizfitz.org/ will not resolve externally; internally it just pulls up my router's configuration page.
I think it has to do with my reverse configuration file but I am not positive. I know the domain points to me because you can SSH into my shell from http://www.mizfitz.org all day long (tested this from an external shell location).
I also can ping / dig / nslookup my domain just fine, so I am going to post the output to each command so I can see if anyone can spot the problem.
Also, I believe since users can SSH into http://www.mizfitz.org from the outside that the domain is close to being set up correctly. Thanks for any help you can offer!
A dig command performed from outside of my local network:
nslookup response perfomed outside of local network (from http://www.mizfitz.org and 68.186.186.44):
/etc/named.conf
/var/named/mizfitz.org.hosts
/var/named/2.168.192.in-addr.arpa.rev
Even though I am not using Charter's name servers for my domain (Charter is just my ISP) do I need to include their name server information?
***EDIT**** almost forgot the named-checkzone
I can access my httpd index.html by visiting http://192.168.2.5/ in a web-browser, but http://www.mizfitz.org/ will not resolve externally; internally it just pulls up my router's configuration page.
I think it has to do with my reverse configuration file but I am not positive. I know the domain points to me because you can SSH into my shell from http://www.mizfitz.org all day long (tested this from an external shell location).
I also can ping / dig / nslookup my domain just fine, so I am going to post the output to each command so I can see if anyone can spot the problem.
Also, I believe since users can SSH into http://www.mizfitz.org from the outside that the domain is close to being set up correctly. Thanks for any help you can offer!
A dig command performed from outside of my local network:
Code:
[contra@bassdesigns ~]$ dig mizfitz.org
; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6_2.3 <<>> mizfitz.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8922
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;mizfitz.org. IN A
;; ANSWER SECTION:
mizfitz.org. 286 IN A 68.186.186.44
;; AUTHORITY SECTION:
mizfitz.org. 7588 IN NS ns3.zoneedit.com.
mizfitz.org. 7588 IN NS ns12.zoneedit.com.
;; Query time: 16 msec
;; SERVER: 184.22.119.106#53(184.22.119.106)
;; WHEN: Mon Jun 18 22:42:34 2012
;; MSG SIZE rcvd: 94
nslookup response perfomed outside of local network (from http://www.mizfitz.org and 68.186.186.44):
Code:
[contra@bassdesigns ~]$ nslookup www.mizfitz.org
Server: 184.22.119.106
Address: 184.22.119.106#53
Non-authoritative answer:
Name: www.mizfitz.org
Address: 68.186.186.44
[contra@bassdesigns ~]$ nslookup 68.186.186.44
Server: 184.22.119.106
Address: 184.22.119.106#53
Non-authoritative answer:
44.186.186.68.in-addr.arpa name = 68-186-186-44.dhcp.leds.al.charter.com.
Authoritative answers can be found from:
186.68.in-addr.arpa nameserver = NS2.charter.com.
186.68.in-addr.arpa nameserver = NS1.charter.com.
186.68.in-addr.arpa nameserver = NS3.charter.com.
186.68.in-addr.arpa nameserver = NS4.charter.com.
/etc/named.conf
Code:
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "mizfitz.org" {
type master;
file "/var/named/mizfitz.org.hosts";
primary 192.168.2.5;
allow-transfer {
127.0.0.1;
68.186.186.44;
76.74.236.21;
209.62.64.46;
};
notify yes;
};
zone "2.168.192.in-addr.arpa" {
type master;
file "/var/named/2.168.192.in-addr.arpa.rev";
allow-update { none; };
};
zone "2.168.192.in-addr.arpa" {
type slave;
file "/var/named/2.168.192.in-addr.arpa.rev";
masters { 68.186.186.44; };
};
/var/named/mizfitz.org.hosts
Code:
$TTL 3600
mizfitz.org. IN SOA ns3.zoneedit.com. admin@mizfitz.org. (
2012061822 ;
3H ;
1H ;
1W ;
1D )
IN NS mizfitz.org.
IN NS ns3.zoneedit.com.
IN NS ns12.zoneedit.com.
mizfitz.org. IN A 68.186.186.44
www IN CNAME 68.186.186.44
/var/named/2.168.192.in-addr.arpa.rev
Code:
$TTL 86400
$ORIGIN 2.168.192.in-addr.arpa.
@ IN SOA ns3.zoneedit.com. admin.mizfitz.org. (
2007040431 ;serial
14400 ;refresh
3600 ;retry
604800 ;expire
10800 ) ;minimum
236.74.76.in-addr.arpa. IN NS ns3.zoneedit.com.
64.62.209.in-addr.arpa. IN NS ns12.zoneedit.com.
5 IN PTR www.mizfitz.org.
Even though I am not using Charter's name servers for my domain (Charter is just my ISP) do I need to include their name server information?
***EDIT**** almost forgot the named-checkzone
Code:
[root@mizfitz conf]# named-checkzone mizfitz.org /var/named/mizfitz.org.hosts
zone mizfitz.org/IN: loaded serial 2012061822
OK