strange dns issue..

Discussion in 'Installation/Configuration' started by derboxen, Jul 16, 2007.

  1. derboxen

    derboxen New Member

    ive got 2 domains hosted on one server.. the server runs the dns for both domains.. SOME of the dns works fine.. and any new dns i add works perfectly.. but one in particular does not..

    Code:
    options {
            pid-file "/var/named/chroot/var/run/named/named.pid";
            directory "/var/named/chroot/var/named";
            auth-nxdomain no;
            recursion no;
            /*
             * If there is a firewall between you and nameservers you want
             * to talk to, you might need to uncomment the query-source
             * directive below.  Previous versions of BIND always asked
             * questions using port 53, but BIND 8.1 uses an unprivileged
             * port by default.
             */
            // query-source address * port 53;
    };
    
    //
    // a caching only nameserver config
    //
    zone "." {
            type hint;
            file "named.ca";
    };
    
    zone "0.0.127.in-addr.arpa" {
            type master;
            file "named.local";
    };
    
    
    
    zone "claceyplumbing.com" {
            type master;
            file "pri.claceyplumbing.com";
    };
    zone "starfluxsolutions.com" {
            type master;
            file "pri.starfluxsolutions.com";
    };
    
    Code:
    $ORIGIN .
    $TTL 38400      ; 10 hours 40 minutes
    claceyplumbing.com      IN      SOA     ns1.starfluxsolutions.com. dns.starfluxsolutions.com. (
                            2006071502
                            10800
                            3600
                            604800
                            38400 )
                            NS      ns1.starfluxsolutions.com.
                            NS      ns.starfluxsolutions.com.
    claceyplumbing.com.     IN      A       69.64.36.73
                            MX      0 mail.claceyplumbing.com.
                            TXT     "v=spf1 a mx -all"
    $ORIGIN claceyplumbing.com.
    www                     A       69.64.36.73
    mail.claceyplumbing.com.        IN      A       69.64.36.14
    

    Code:
    $ORIGIN .
    $TTL 38400      ; 10 hours 40 minutes
    starfluxsolutions.com           IN SOA  ns1.starfluxsolutions.com. dns.starfluxsolutions.com. (
                                    2006071500 ; serial
                                    10800      ; refresh (3 hours)
                                    3600       ; retry (1 hour)
                                    604800     ; expire (1 week)
                                    38400      ; minimum (10 hours 40 minutes)
                                    )
                            NS      ns1.starfluxsolutions.com.
                            NS      ns2.starfluxsolutions.com.
                            A       69.64.36.14
                            MX      0 mail.starfluxsolutions.com.
                            TXT     "v=spf1 a mx -all"
    $ORIGIN starfluxsolutions.com.
    ns1                     A       69.64.36.14
    mail                    A       69.64.36.14
    ns                      A       69.64.36.73
    tech                    A       69.64.36.14
    admin                   A       69.64.36.73
    ns2                     A       69.64.36.73
    
    so bind starts without problems.. but some dont resolve.. such as..

    DNS» resolved (ns1.starfluxsolutions.com) to (69.64.36.14)
    DNS» unable to resolve (mail.starfluxsolutions.com)
    DNS» resolved (tech.starfluxsolutions.com) to (69.64.36.73)
    DNS» unable to resolve (admin.starfluxsolutions.com)

    clacey doesnt seem to have any problems.. except i was tryin to use mail.starflux for their MX record.. but the dns wont work.

    Running CentOS4.5 (using the perfect setup guide)
     
    Last edited: Jul 16, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of the following commands, executed on the shell of your server:

    dig @localhost mail.starfluxsolutions.com

    dig @localhost admin.starfluxsolutions.com
     
  3. derboxen

    derboxen New Member

    yea somehow i got it.. not really sure how.. but its working..

    thanks!
     

Share This Page