#83 rndc flush is not functional
Closed: Invalid None Opened 11 years ago by pspacek.

Steps to reproduce:
1. Create DNS name with single record: test.zone.example. 86400 IN TXT "testText"

  1. run dig @127.0.0.1 test.zone.example -t ANY

    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37363
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;test.zone.example. IN ANY

    ;; ANSWER SECTION:
    test.zone.example. 86400 IN TXT "testText"

    ;; AUTHORITY SECTION:
    zone.example. 86400 IN NS unused-4-107.brq.redhat.com.

    ;; ADDITIONAL SECTION:
    unused-4-107.brq.redhat.com. 86400 IN A 10.34.4.107

  2. delete tXTRecord attribute in LDAP

  3. run rndc flush

  4. repeat original query within cache_ttl seconds (configured in /etc/named.conf) - run dig @127.0.0.1 test.zone.example -t ANY

It returns (same result):

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37247
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;test.zone.example.     IN  ANY

;; ANSWER SECTION:
test.zone.example.  86400   IN  TXT "testText"

;; AUTHORITY SECTION:
zone.example.       86400   IN  NS  unused-4-107.brq.redhat.com.

;; ADDITIONAL SECTION:
unused-4-107.brq.redhat.com. 86400 IN   A   10.34.4.107

It should return:

;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25109
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;test.zone.example.     IN  TXT

;; AUTHORITY SECTION:
zone.example.       1   IN  SOA unused-4-107.brq.redhat.com. nonexistent.zone.example. 2012060388 123 123 666 1

This does not apply to bind-dyndb-ldap anymore.

Metadata Update from @pspacek:
- Issue assigned to pspacek
- Issue set to the milestone: The Backlog

7 years ago

Login to comment on this ticket.

Metadata