Results 1 to 4 of 4

Thread: Another Split DNS Question

  1. #1
    chrisb070819 is offline Starter Member
    Join Date
    Jun 2014
    Posts
    2
    Rep Power
    1

    Unhappy Another Split DNS Question

    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
    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
    [xxxxxxxx@mail ~]# cat /etc/named.conf
    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";
    [xxxxxxxx@mail ~]# cat /var/named/blrdnightlife.com.fwd
    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
    [xxxxxxxx@mail ~]# cat /var/named/blrdnightlife.com.rev
    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.
    [xxxxxxxx@mail ~]# dig blrdnightlife.com mx
    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
    [xxxxxxxx@mail ~]# dig blrdnightlife.com any
    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
    [xxxxxxxx@mail ~]# nslookup mail.blrdnightlife.com
    Code:
    Server:		127.0.0.1
    Address:	127.0.0.1#53
    
    Name:	mail.blrdnightlife.com
    Address: 192.168.251.112
    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.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Are you having problems connecting to ZCS from inside the LAN or externally? It would appear that you do not have an A record specified for your domain in the external DNS:

    Code:
    dig blrdnightlife.com any
    
    ; <<>> DiG 9.9.4-rpz2.13269.14-P2 <<>> blrdnightlife.com any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51647
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;blrdnightlife.com.             IN      ANY
    
    ;; ANSWER SECTION:
    blrdnightlife.com.      86390   IN      NS      dns4.registrar-servers.com.
    blrdnightlife.com.      1790    IN      MX      10 mail.blrdnightlife.com.
    blrdnightlife.com.      86390   IN      NS      dns5.registrar-servers.com.
    blrdnightlife.com.      86390   IN      NS      dns2.registrar-servers.com.
    blrdnightlife.com.      86390   IN      NS      dns1.registrar-servers.com.
    blrdnightlife.com.      86390   IN      NS      dns3.registrar-servers.com.
    
    ;; Query time: 2 msec
    ;; SERVER: 192.168.1.11#53(192.168.1.11)
    ;; WHEN: Wed Jun 11 20:27:59 CEST 2014
    ;; MSG SIZE  rcvd: 169
    In this file: /var/named/blrdnightlife.com.fwd you have an A record for your domain that points to the mail server, it usually points to your web server.
    Last edited by phoenix; 06-14-2014 at 10:31 PM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    chrisb070819 is offline Starter Member
    Join Date
    Jun 2014
    Posts
    2
    Rep Power
    1

    Default

    Bill,

    I was unable to connect neither externally or internally. There was an A record in external DNS and it had existed for about 4 days.


    as for the A record in the named file I think I made that change in desperation and I changed it back with no results. But strangely enough I am unsure what changed but I left it for the night and it magically started working....(I'm at a loss for words)...

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Quote Originally Posted by chrisb070819 View Post
    as for the A record in the named file I think I made that change in desperation and I changed it back with no results. But strangely enough I am unsure what changed but I left it for the night and it magically started working....(I'm at a loss for words)...
    I'm glad that it's now working.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question to split-dns-article
    By Alphaphi in forum Administrators
    Replies: 9
    Last Post: 10-19-2010, 08:02 AM
  2. Split domain setup question
    By scav0r in forum Administrators
    Replies: 4
    Last Post: 11-03-2008, 05:09 AM
  3. Split-dns & multi-domain question
    By AMatten in forum Installation
    Replies: 4
    Last Post: 02-08-2007, 07:04 AM
  4. Question about Split Domain setup
    By ericding in forum Administrators
    Replies: 3
    Last Post: 05-05-2006, 05:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •