BIND 9 and debian

Discussion in 'Server Operation' started by unkn0wn, Apr 20, 2006.

  1. unkn0wn

    unkn0wn New Member

    I have few problems with bind :(

    i have two servers.

    in named.conf

    on slave i put:

    zone "" {
            type slave;
            file "/etc/bind/";
            masters {;};
    and in master named.conf

    zone "" in{
            type master;
            file "/etc/bind/";
    i put zones:

    $TTL 14400
    @       86400   IN      SOA    (
                                            )  86400   IN      NS  86400   IN      NS  14400   IN      A       14400   IN      A 14400   IN      MX      0
    mail    14400   IN      CNAME
    www     14400   IN      CNAME
    ftp     14400   IN      A
    ns1     14400   IN      A
    ns2     14400   IN      A
    when i use #dig @ domain its look good.
    but when i use #dig domain
    no server could be reached???!!

    In domain registar i change dns servers and whois give me correct result
    what is a problem?
  2. unkn0wn

    unkn0wn New Member

    with DNS tools i get this

    No SOA records exist for [Neg TTL=0 seconds]

    Details: (an authoritative nameserver) says that there are no SOA records for
    ( does exist, but has no SOA records).
  3. falko

    falko Super Moderator Howtoforge Staff

  4. unkn0wn

    unkn0wn New Member

    i solve that problem.
    But i haev another mail server is on dns1 machine.
    and sadi there is no MX records for domain?
    but there is 14400 IN MX 10

    mail 14400 IN A

    is that ok
  5. falko

    falko Super Moderator Howtoforge Staff

    This allows you to accept mails for [email protected], for example. If you want to accept mails for, you should use

    Code:  14400   IN      MX      10
  6. unkn0wn

    unkn0wn New Member

    mail.domain. 14400 IN MX 10

    is this correct because my ns1 is on mail server machine.
  7. falko

    falko Super Moderator Howtoforge Staff

    Yes, but did you read my previous post?
  8. unkn0wn

    unkn0wn New Member

    yeps now :)

    its working tnx again falko.

Share This Page