delegate zone

tanawat at konsombat.com tanawat at konsombat.com
Thu Jul 1 09:39:32 UTC 2004


Hi
       I'm trying to delegate zone to another server (all record) below 
is my config

On ns.myns.com
file /etc/named.conf

zone "mydomain.com" {
        type master;
        file "db.mydomain.com";
        };

---------------------------------------------------
file db.mydomain.com

$ttl 86400
$ORIGIN com.
mydomain    IN      SOA     ns.myns.com. root.ns.myns.com. (
                2004070100      ;Serial
                21600           ;Refresh
                3600            ;Retry
                604800          ;Expire
                86400 )         ;Minimum
 $ORIGIN mydomain.com.
mydomain.com.          IN      NS      ns.another.com.
mydomain.com.          IN      NS      ns2.another.com.

-------------------------------------------------------


On ns.another.com
file /etc/named.conf

zone "mydomain.com" {
        type master;
        file "db.mydomain.com";
        };

---------------------------------------------------
file db.mydomain.com

$ttl 86400
$ORIGIN com.
mydomain    IN      SOA     ns.myns.com. root.ns.myns.com. (
                2004070100      ;Serial
                21600           ;Refresh
                3600            ;Retry
                604800          ;Expire
                86400 )         ;Minimum
                IN      NS      ns.another.com.
                IN      NS      ns2.another.com.
$ORIGIN mydomain.com.
www            IN      CNAME   www.somewhere.com.
-------------------------------------------------------


but when I dig www.mydomain.com ns.myns.com didn't answer

Please Help



More information about the bind-users mailing list