I really hate to have to ask this but I have banging my head for hours and it's probably me being stupid with DNS as I have got it to work partially but whenever I try to go to https://mail.blrdnightlife.com I get no response.
I have 2 servers one that will be used for the website and other various subdomains and another for this zimbra mail server. I have 1 to 1 NAT's setup on a PFSense Firewall as well as proper firewall rules.
webserver = 208.38.133.153 = 192.168.251.111
mailserver = 208.38.133.154 = 192.168.251.112
I have the domain registered with Namecheap and are using their DNS manager and have populated with the following records
www A 208.38.133.153
mail A 208.38.133.154
mail MX 10 208.38.133.154
Now here are the fun ones. (Built on Centos 6.5 64-Bit)
hostname
mail.blrdnightlife.com
[xxxxxxxx@mail ~]# cat /etc/hosts
[xxxxxxxx@mail ~]# cat /etc/named.conf
[xxxxxxxx@mail ~]# cat /var/named/blrdnightlife.com.fwd
[xxxxxxxx@mail ~]# cat /var/named/blrdnightlife.com.rev
[xxxxxxxx@mail ~]# dig blrdnightlife.com mx
[xxxxxxxx@mail ~]# dig blrdnightlife.com any
[xxxxxxxx@mail ~]# nslookup mail.blrdnightlife.com
I think I have provided enough information that someone might see my mistake. Please be helpful and don't just tell me to look at the split dns wiki as I have looked over and over it multiple times.
I have 2 servers one that will be used for the website and other various subdomains and another for this zimbra mail server. I have 1 to 1 NAT's setup on a PFSense Firewall as well as proper firewall rules.
webserver = 208.38.133.153 = 192.168.251.111
mailserver = 208.38.133.154 = 192.168.251.112
I have the domain registered with Namecheap and are using their DNS manager and have populated with the following records
www A 208.38.133.153
mail A 208.38.133.154
mail MX 10 208.38.133.154
Now here are the fun ones. (Built on Centos 6.5 64-Bit)
hostname
mail.blrdnightlife.com
[xxxxxxxx@mail ~]# cat /etc/hosts
Code:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.251.112 mail.blrdnightlife.com mail
Code:
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 127.0.0.1; };
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 { localhost; };
recursion yes;
forwarders {8.8.8.8; };
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "blrdnightlife.com" {
type master;
file "blrdnightlife.com.fwd";
};
zone "251.168.192.in-addr.arpa" {
type master;
file "blrdnightlife.com.rev";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
Code:
$ORIGIN blrdnightlife.com.
$TTL 38400
@ IN SOA mail.blrdnightlife.com. mail.blrdnightlife.com. (
2013012011
10800
3600
604800
38400 )
IN NS ns1.blrdnightlife.com.
IN NS ns2.blrdnightlife.com.
IN A 192.168.251.112
IN MX 10 mail.blrdnightlife.com.
@ A 192.168.251.112
ns1 A 192.168.251.112
ns2 A 192.168.251.112
mail A 192.168.251.112
Code:
$ORIGIN 251.168.192.in-addr.arpa.
$TTL 3D
@ SOA mail.blrdnightlife.com. mail.blrdnightlife.com. (
2013012011
10800
3600
604800
38400 )
@ IN NS ns1.blrdnightlife.com.
112 IN PTR mail.blrdnightlife.com.
Code:
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> blrdnightlife.com mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46157
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; QUESTION SECTION:
;blrdnightlife.com. IN MX
;; ANSWER SECTION:
blrdnightlife.com. 38400 IN MX 10 mail.blrdnightlife.com.
;; AUTHORITY SECTION:
blrdnightlife.com. 38400 IN NS ns1.blrdnightlife.com.
blrdnightlife.com. 38400 IN NS ns2.blrdnightlife.com.
;; ADDITIONAL SECTION:
mail.blrdnightlife.com. 38400 IN A 192.168.251.112
ns1.blrdnightlife.com. 38400 IN A 192.168.251.112
ns2.blrdnightlife.com. 38400 IN A 192.168.251.112
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 11 13:21:11 2014
;; MSG SIZE rcvd: 140
Code:
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> blrdnightlife.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44901
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 3
;; QUESTION SECTION:
;blrdnightlife.com. IN ANY
;; ANSWER SECTION:
blrdnightlife.com. 38400 IN SOA mail.blrdnightlife.com. mail.blrdnightlife.com. 2013012011 10800 3600 604800 38400
blrdnightlife.com. 38400 IN NS ns1.blrdnightlife.com.
blrdnightlife.com. 38400 IN NS ns2.blrdnightlife.com.
blrdnightlife.com. 38400 IN A 192.168.251.112
blrdnightlife.com. 38400 IN MX 10 mail.blrdnightlife.com.
;; ADDITIONAL SECTION:
ns1.blrdnightlife.com. 38400 IN A 192.168.251.112
ns2.blrdnightlife.com. 38400 IN A 192.168.251.112
mail.blrdnightlife.com. 38400 IN A 192.168.251.112
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 11 13:21:58 2014
;; MSG SIZE rcvd: 192
Code:
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: mail.blrdnightlife.com
Address: 192.168.251.112