notify secondary DNS - solution

Bernhard Kuemel darsie at gmx.at
Tue Dec 14 19:30:37 UTC 1999


Hi Everybody!

I found the solution, but I'll post it anyways so others can find it.

How do I make my primary DNS notify my secondary of changes?

I have

-------- excerpt of /etc/named.conf ---------------
  options {
          notify yes;
  };

  zone "bitsniz.at" {
          type master;
          file "pz/bitsniz.at";
  };
---------------------------------------------------

and 

----- excerpt of /var/named/pz/bitsniz.at ---------
@               IN      SOA     ns1.bitsniz.at. hostmaster.bitsniz.at. (
                                15      ; Serial
                                8H      ; Refresh
                                1H      ; Retry
                                1W      ; Expire
                                1D)     ; Minimum TTL
     	                   NS      ns1
                        NS      ns2
                        MX      10 mail
                        
ns1                     A       194.152.162.66
mail                    A       192.168.0.10
mail                    A       194.152.162.66
;ns1                    CNAME   mail

mail1                   A       194.152.162.67
ns2                     CNAME   mail1

b                       A       192.168.0.42
-------------------------------------------------------

Is it the NS RRs that tell my ns1 that ns2 is a secondary NS to notify?

The solution: bind doesn't resolv the CNAME. Using an A RR for ns2 works
fine.

-- 
Bitsniz Data and RAID Systems         www.bitsniz.at
Kreuzgasse 60                         office at bitsniz.at
A-1180 Wien
+43 1 406-50-98 (/99 Fax)


More information about the bind-users mailing list