Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Split DNS - Partly Working

  1. #1
    Matt Mc is offline Junior Member
    Join Date
    Jan 2014
    Posts
    8
    Rep Power
    1

    Default Split DNS - Partly Working

    I am yet another casualty of the complexities of split DNS. I have tried so many different tutorials I can't list all of them. I typically start following the official Zimbra Split DNS post as closely as I can with Ubuntu 12.04 and making changes from there. Before this post, I started fresh, and followed the official post only. The dig commands seem fairly correct, but list external DNS as authoritative. The host $(hostname) command returns an error "Host mail not found: 3(NXDOMAIN)"

    I'm not completely new to Ubuntu, networking, and DNS, but I'm certainly not an expert either. The domain mail.timberwolfhosting.net is pointed to my external IP, and reverse DNS is setup for it by my ISP. I plan to install Zimbra 8 if I can get this part working to replace and old Zimbra 7 server. I would sure appreciate any help pointing me in the right direction to find what I did wrong. Thank you in advance.

    Here is my named.conf.options
    Code:
    options {
    	directory "/var/cache/bind";
    
    	// If there is a firewall between you and nameservers you want
    	// to talk to, you may need to fix the firewall to allow multiple
    	// ports to talk.  See http://www.kb.cert.org/vuls/id/800113
    
    	// If your ISP provided one or more IP addresses for stable 
    	// nameservers, you probably want to use them as forwarders.  
    	// Uncomment the following block, and insert the addresses replacing 
    	// the all-0's placeholder.
    
    	 forwarders {
    	 	8.8.8.8;
    	 };
    
    	//========================================================================
    	// If BIND logs error messages about the root key being expired,
    	// you will need to update your keys.  See https://www.isc.org/bind-keys
    	//========================================================================
    	dnssec-validation auto;
    
    	auth-nxdomain no;    # conform to RFC1035
    	listen-on-v6 { any; };
    };
    
    include "/etc/bind/rndc.key";
    
    zone "mail.timberwolfhosting.net" {
    	type master;
    	file "db.mail.timberwolfhosting.net";
    };
    Here is my db.mail.timberwolfhosting.net

    Code:
    ;
    ;	Address and other host information
    ;
    @	IN	SOA	mail.timberwolfhosting.net. admin.timberwolfhosting.net. (
    			10121		; Serial
    			43200		; Refresh
    			3600		; Retry
    			3600000		; Expire
    			2592000	)	; Minimum
    ;	Define the nameservers and the mail servers
    	IN	NS	mail.timberwolfhosting.net.
    timberwolfhosting.net.	IN	MX	10 mail.timberwolfhosting.net.
    mail.timberwolfhosting.net.	IN	A	192.168.0.3
    Here is my interfaces file
    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet static
    	address	192.168.0.3
    	netmask	255.255.255.0
    	gateway	192.168.0.1
    	dns-search	timberwolfhosting.net
    	dns-nameservers	192.168.0.3
    Here is the resolve.conf
    Code:
    # Notes and such
    nameserver 192.168.0.3
    search timberwolfhosting.net
    I'm not sure how to copy the dig results over.

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

    Default

    Quote Originally Posted by Matt Mc View Post
    The dig commands seem fairly correct, but list external DNS as authoritative. The host $(hostname) command returns an error "Host mail not found: 3(NXDOMAIN)"
    Those errors indicate that you do not have valid DNS A & MX records configured.

    Quote Originally Posted by Matt Mc View Post
    I'm not sure how to copy the dig results over.
    You run each of the commands in the 'Verify....' section of the Split DNS article and when you do each command copy and paste (left-click and drag the cursor over the text you want then right-click the output that's highlighted) the output that's displayed in the terminal.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Matt Mc is offline Junior Member
    Join Date
    Jan 2014
    Posts
    8
    Rep Power
    1

    Default

    You say I have incorrect DNS A or MX records. Do the following give you any idea where those incorrect settings would be?

    Code:
    ; <<>> DiG 9.8.1-P1 <<>> timberwolfhosting.net mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28641
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;timberwolfhosting.net.		IN	MX
    
    ;; ANSWER SECTION:
    timberwolfhosting.net.	18273	IN	MX	20 mail.timberwolf-hosting.com.
    timberwolfhosting.net.	18273	IN	MX	10 mail.timberwolfhosting.net.
    
    ;; AUTHORITY SECTION:
    .			13220	IN	NS	g.root-servers.net.
    .			13220	IN	NS	l.root-servers.net.
    .			13220	IN	NS	f.root-servers.net.
    .			13220	IN	NS	k.root-servers.net.
    .			13220	IN	NS	h.root-servers.net.
    .			13220	IN	NS	i.root-servers.net.
    .			13220	IN	NS	c.root-servers.net.
    .			13220	IN	NS	e.root-servers.net.
    .			13220	IN	NS	a.root-servers.net.
    .			13220	IN	NS	d.root-servers.net.
    .			13220	IN	NS	b.root-servers.net.
    .			13220	IN	NS	m.root-servers.net.
    .			13220	IN	NS	j.root-servers.net.
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.3#53(192.168.0.3)
    ;; WHEN: Wed Jan  8 16:09:24 2014
    ;; MSG SIZE  rcvd: 311
    Code:
    ; <<>> DiG 9.8.1-P1 <<>> timberwolfhosting.net any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28291
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;timberwolfhosting.net.		IN	ANY
    
    ;; ANSWER SECTION:
    timberwolfhosting.net.	18010	IN	MX	10 mail.timberwolfhosting.net.
    timberwolfhosting.net.	18010	IN	MX	20 mail.timberwolf-hosting.com.
    
    ;; AUTHORITY SECTION:
    .			12957	IN	NS	b.root-servers.net.
    .			12957	IN	NS	f.root-servers.net.
    .			12957	IN	NS	g.root-servers.net.
    .			12957	IN	NS	e.root-servers.net.
    .			12957	IN	NS	j.root-servers.net.
    .			12957	IN	NS	l.root-servers.net.
    .			12957	IN	NS	c.root-servers.net.
    .			12957	IN	NS	i.root-servers.net.
    .			12957	IN	NS	d.root-servers.net.
    .			12957	IN	NS	h.root-servers.net.
    .			12957	IN	NS	m.root-servers.net.
    .			12957	IN	NS	a.root-servers.net.
    .			12957	IN	NS	k.root-servers.net.
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.0.3#53(192.168.0.3)
    ;; WHEN: Wed Jan  8 16:13:47 2014
    ;; MSG SIZE  rcvd: 311

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

    Default

    Quote Originally Posted by Matt Mc View Post
    You say I have incorrect DNS A or MX records. Do the following give you any idea where those incorrect settings would be?
    Not really as you haven't posted the output of all the required commands. What your output does show is that you definitely do not have the required DNS records and is a configuration problem with your DNS server. If there are problems modifying the DNS server config files directly why don't you install Webmin on your server and use that?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Matt Mc is offline Junior Member
    Join Date
    Jan 2014
    Posts
    8
    Rep Power
    1

    Default

    I apologize for missing the hosts file. There are 5 things listed under the verify sections.

    dig yourdomain.com mx and dig yourdomain.com any - those two I just posted, and here they are again.

    Code:
    ; <<>> DiG 9.8.1-P1 <<>> timberwolfhosting.net mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28641
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;timberwolfhosting.net.		IN	MX
    
    ;; ANSWER SECTION:
    timberwolfhosting.net.	18273	IN	MX	20 mail.timberwolf-hosting.com.
    timberwolfhosting.net.	18273	IN	MX	10 mail.timberwolfhosting.net.
    
    ;; AUTHORITY SECTION:
    .			13220	IN	NS	g.root-servers.net.
    .			13220	IN	NS	l.root-servers.net.
    .			13220	IN	NS	f.root-servers.net.
    .			13220	IN	NS	k.root-servers.net.
    .			13220	IN	NS	h.root-servers.net.
    .			13220	IN	NS	i.root-servers.net.
    .			13220	IN	NS	c.root-servers.net.
    .			13220	IN	NS	e.root-servers.net.
    .			13220	IN	NS	a.root-servers.net.
    .			13220	IN	NS	d.root-servers.net.
    .			13220	IN	NS	b.root-servers.net.
    .			13220	IN	NS	m.root-servers.net.
    .			13220	IN	NS	j.root-servers.net.
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.3#53(192.168.0.3)
    ;; WHEN: Wed Jan  8 16:09:24 2014
    ;; MSG SIZE  rcvd: 311
    Code:
    ; <<>> DiG 9.8.1-P1 <<>> timberwolfhosting.net any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28291
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;timberwolfhosting.net.		IN	ANY
    
    ;; ANSWER SECTION:
    timberwolfhosting.net.	18010	IN	MX	10 mail.timberwolfhosting.net.
    timberwolfhosting.net.	18010	IN	MX	20 mail.timberwolf-hosting.com.
    
    ;; AUTHORITY SECTION:
    .			12957	IN	NS	b.root-servers.net.
    .			12957	IN	NS	f.root-servers.net.
    .			12957	IN	NS	g.root-servers.net.
    .			12957	IN	NS	e.root-servers.net.
    .			12957	IN	NS	j.root-servers.net.
    .			12957	IN	NS	l.root-servers.net.
    .			12957	IN	NS	c.root-servers.net.
    .			12957	IN	NS	i.root-servers.net.
    .			12957	IN	NS	d.root-servers.net.
    .			12957	IN	NS	h.root-servers.net.
    .			12957	IN	NS	m.root-servers.net.
    .			12957	IN	NS	a.root-servers.net.
    .			12957	IN	NS	k.root-servers.net.
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.0.3#53(192.168.0.3)
    ;; WHEN: Wed Jan  8 16:13:47 2014
    ;; MSG SIZE  rcvd: 311
    host $(hostname) and cat /etc/resolv.conf - I posted these originally, and here they are again.

    Code:
    Host mail not found: 3(NXDOMAIN)
    Code:
    # 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.3
    search timberwolfhosting.net
    And lastly cat /etc/hosts - I'm really sorry for missing this one, I was doing my best to post correctly but still managed to miss this the first time around.

    Code:
    127.0.0.1	localhost.localdomain localhost
    192.168.0.3	mail.timberwolfhosting.net mail
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    --Edit--
    I actually did install webmin to more easily copy and past the commands since I am using Vmware Client to access the server. I have not had problems editing the files, only problems with the settings. I was able to get an older version of Ubuntu and Zimbra to work a few years ago, but this one has me stumped. I don't mind using webmin here and there, but I would prefer to learn my mistakes rather than have the interface to everything for me. I like to understand how things work before I have a script do it for me.

  6. #6
    Matt Mc is offline Junior Member
    Join Date
    Jan 2014
    Posts
    8
    Rep Power
    1

    Default

    Does anyone have any ideas where I went wrong with this setup?

  7. #7
    Matt Mc is offline Junior Member
    Join Date
    Jan 2014
    Posts
    8
    Rep Power
    1

    Default

    I was hoping someone could help. I'm guessing from the lack of replies, either it is a weird problem no one has ever heard of or else something so glaringly stupid no one wants to take the time to post it.

    If it's the second, I would sure appreciate someone pointing out the stupidity. If its the first, does anyone have any other tests I could run to get any more information?

    Thanks in advance.
    Last edited by Matt Mc; 01-17-2014 at 10:08 AM.

  8. #8
    axslingr is offline Intermediate Member
    Join Date
    Nov 2011
    Location
    Arkansas
    Posts
    17
    Rep Power
    3

    Default

    Matt,

    I'm not convinced your server is using it's local BIND for DNS. Where is it coming up with the 20 mail.timberwolf-hosting.com MX record?? What is the output of this from your server?

    Code:
    nslookup mail.timberwolfhosting.net
    Lance

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

    Default

    Sorry about the late reply, I seem to have missed your earlier posts.

    It would appear from the output you've posted earlier that the the dig commands show no A record for the server and as I mentioned earlier, shown in the output here:

    Code:
    Host mail not found: 3(NXDOMAIN)
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    axslingr is offline Intermediate Member
    Join Date
    Nov 2011
    Location
    Arkansas
    Posts
    17
    Rep Power
    3

    Default

    Matt,

    I think I see your problem dude. Your NS record line is missing the domain name at the beginning of the line. It should look like this:

    Code:
    timberwolfhosting.net.	IN	NS	mail.timberwolfhosting.net.
    Lance

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Working with large .PST files ((split them))
    By joshuaneil in forum Migration
    Replies: 0
    Last Post: 12-20-2010, 01:02 PM
  2. Split DNS not working
    By Antonio Mercurio in forum Installation
    Replies: 10
    Last Post: 11-16-2010, 12:41 AM
  3. Split dns working, but Zimbra can't resolve MX
    By Mistoffeles in forum Installation
    Replies: 8
    Last Post: 09-14-2009, 09:53 AM
  4. Partly migration
    By gsommer in forum Migration
    Replies: 0
    Last Post: 10-18-2007, 06:36 AM
  5. split dns isn't working for me....
    By lucidblue in forum Installation
    Replies: 5
    Last Post: 06-02-2007, 09:24 PM

Posting Permissions

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