Menu

SERVFAIL Error ON NSUPDATE

Help
2009-07-06
2013-04-22
  • Gibson Nascimento

    Hi all,
    I'm new in DNS and Bind and I installed bind 9.6.1whit MySQL Bind DSB Driver.

    I followed all the steps according to
    http://mysql-bind.sourceforge.net/docs.php

    when I try to run a nslookup command it works perfectly fine, but when I try to execute a nsupdate command it returns me the following message:

    ;; ->>HEADER<<- opcode: UPDATE, status: SERVFAIL, id:   7010
    ;; flags: qr ra ; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0

    I included a "allow-update" statement  that defines the IP address of the hosts which are allowed to submit dynamic updates and zone definition now looks like this:

    zone "mydomain.com" {
          type master;
          notify no;
        database "mysqldb dns_update mydomain 172.24.24.65 root venturus";
        allow-update {172.24.24.65; };
    };

    But the problem is still happing.

    Could somebody help me please?

    Thanks a lot.

     
    • Andreas Lund

      Andreas Lund - 2009-07-06

      AFAIK mysql-bind was and still is READ-ONLY. This means it can only be used for primary zones with static info; no secondary zones or dynamic updates of any kind are supported.

      Mind you, it's been a while since I downloaded mysql-bind so this may no longer be true. Peek at the source code, it's not very complicated. Look at the SQL statements, if they're all SELECT and no INSERT or UPDATE then it's still read-only :-)

       
    • Gibson Nascimento

      Hi Andreas, you're right, it's still read-only.

      Thanl you very much.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.