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

Thread: [SOLVED] i really need help for configuring split dns

  1. #1
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default [SOLVED] i really need help for configuring split dns

    Hello all,

    i tried 3 long days to get "split dns" work, but with no success. The result is that can send mails, or receive mails, but no both.

    I installed Zimbra successfully and zmcontrol repports that all systems are running correct. Also the installes named seems to run, but the setup is not correct, because sending and receiving will not work at same time. I need to change the MTA Hostname in the web admin-interface.

    My TCP-Data:

    I use a router wit NAT firewall.

    Router IP 192.168.178.1
    Nameserver Networkcard IP: 192.168.178.5
    Hostname namserver: mailserver.sinsheim-wetter.de
    mail-domain which will need for mail addresses: sinsheim.wetter.de
    External IP: 194.231.187.137
    System is Suse 10.2
    Zimbra is the current open source release

    Here is my current named config. Could you have a look for any errors please?



    // Default named.conf generated by install of bind-9.2.4-2
    options {
    directory "/var/bin/named";
    dump-file "/var/bin/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    forwarders { 192.168.178.1 ; };
    };
    include "/etc/rndc.key";
    // We are the master server for server.example.com
    zone "mailserver.sinsheim-wetter.de" {
    type master;
    file "db.mailserver.sinsheim-wetter.de";
    };


    /var/bin/named/db.mailserver.sinsheim-wetter.de:


    ; Addresses and other host information.
    ;
    @ IN SOA sinsheim-wetter.de. hostmaster.sinsheim-wetter.de. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS <192.168.178.5>
    IN A <192.168.178.5>
    IN MX 10 mailserver.sinsheim-wetter.de.

    Off course the mx entries for sinsheim-wetter.de on the namserver at my provider is set correctly! When i use MS-Exchange, all works well without problems. Just with Zimbra i have this trouble.


    Iam really not sure whats wrong and i have search the whole web and forum, but nothing does work.

    Thanks for you assistance

    Thomas
    Last edited by hercules; 09-26-2007 at 01:44 PM.

  2. #2
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    Thomas, this may not be your only problem, but this line

    Quote Originally Posted by hercules View Post
    forwarders { 192.168.178.1 ; };
    is pointing to the address you said is your router address. Unless you have your router configured as a DNS proxy, that won't work. The forwarders have to be DNS to whom bind can direct queries that it does not have the answer for. . .in my case they are the DNS servers provided to me by my ISP.

    You might take a look at this wiki article I wrote on installing to Ubuntu. I go over the installation and configuration of bind9 step-by-step, and at least for me these steps worked.

    HTH,

    Dan

  3. #3
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default

    ok..thanks for the first.

    Do you tihnk, that the other config values are correct so it should work, or there are may another errors in thies configs that could make trouble?

    Thomas

  4. #4
    Join Date
    Mar 2006
    Location
    South Africa
    Posts
    34
    Rep Power
    9

    Default split DNS problem

    Hi

    I think your problem is that you are using "mailserver.sinsheim-wetter.de"
    zone "mailserver.sinsheim-wetter.de"
    as your domain, instead of using "sinsheim-wetter.de"
    so change in your named.conf or named.conf.inc
    // We are the master server for server.example.com
    zone "sinsheim-wetter.de" {
    type master;
    file "db.mailserver.sinsheim-wetter.de";
    };

    then you'd rather have in your zone file
    @ IN SOA sinsheim-wetter.de. hostmaster.sinsheim-wetter.de. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum

    IN NS 192.168.178.5

    IN MX 10 mailserver.sinsheim-wetter.de.

    IN A 192.168.178.5

    mailserver.sinsheim-wetter.de. IN A 194.231.187.137 ; notice the "." at end of 'de.'


    regards

    Mac
    Current specs:
    8.x NE + OSS KVM guests and Physical servers Ubuntu 12.04, RHEL 5 + 6 .
    on Dell server hardware.

    Previously: ZCS OSS and NE 7, 6, 5, 4, 3 variously on physical and virtual
    Twitter: @mciverza

  5. #5
    Join Date
    Jun 2007
    Location
    Philippines
    Posts
    193
    Rep Power
    8

    Default

    what do you have in your /etc/hosts?

  6. #6
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default

    hello togther,

    i changed all like your told me. Iam not sure its correct, because i havent install Zimbra yes, since it should be only installed when Split Dns is working.

    When i type nslookup sinsheim-wetter.de i get "server cabt find sinsheim-wetter.de". Just the same with mailserver.sinsheim-wetter.de.

    When i ping sinsheim-wetter.de i get "unknown host". and with mailserver.sinsheim-wetter.de i get a response with 192.168.178.5

    Iam not so sure, but the nslookup schouls respone the internal IP...or?

    In my host is

    127.0.0.1 localhost.localdomain localhost

    192.168.178.5 mailserver.sinsheim-wetter.de mailserver


    in my resolv.conf:
    nameserver 192.168.178.5
    search sinsheim-wetter.de

    Any further ideas?

    Thomas

  7. #7
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    The first question I would ask is are you sure the DNS server (named) is running? Check the system processes to be sure it is. If it's not running then you need to start it. If it is running then I'd try stopping and starting it, and then look at the system logs, which should give you some information is things aren't configured properly.

  8. #8
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default

    hi,

    yes named is running! The logs shows no errors.

    But im not sure about the following:

    When i configure a zone in named.conf i must create the zone file. Does named check this file exits? I ask, because when i delete this zone file, named is starting without errors about the not existing zone file.

  9. #9
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    I don't know SuSe that well, but it's possible that the system is running a chroot version of BIND. Search your system for other occurrences of the named.conf file. Also look in the system logs for any references to what named.conf file is being read.

  10. #10
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default

    hi..thanks a lot. After many hours of testiings i found a working solution.
    Zimbra works fine now

    Thomas

Similar Threads

  1. split dns isn't working for me....
    By lucidblue in forum Installation
    Replies: 5
    Last Post: 06-02-2007, 10:24 PM
  2. vmware split dns
    By marcxroma in forum Installation
    Replies: 2
    Last Post: 04-13-2007, 07:57 AM
  3. SLES10 installation issue (split DNS config)
    By swacongne in forum Installation
    Replies: 2
    Last Post: 03-26-2007, 01:54 AM
  4. DNS in a nutshell part two (For dummies)
    By daimer77 in forum Installation
    Replies: 4
    Last Post: 12-18-2006, 06:28 PM
  5. DNS Strategies and Best Practices, and a SLES10 Request
    By LMStone in forum Administrators
    Replies: 4
    Last Post: 10-14-2006, 08:51 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
  •