[yadifa-users] TTL macros not work

Кирилл Михайлович Варнаков kvarnakov at cair.ru
Wed Jun 29 11:16:38 CEST 2016


Hi. My version - yadifa 2.1.6-5826 (2016-02-04). TTL macros not work with configuration:

$TTL            3600

@               IN SOA  dns1.        hostmaster. (
                        2016062911      ; Serial
                        28800           ; Refresh after 8 hour
                        7200            ; Retry after 2 hours
                        604800          ; Expire after 7 days
                        60 )            ; Minimum TTL of 1 day

@               IN NS   dns1.

category                        IN NS   dns1.

test-category                   IN A    127.0.0.127

;; test-dns-c.      60      IN A    127.0.0.253
;; test-dns-c.      60      IN TXT  "253"


nicoleaniston.org    IN A   127.0.0.101
*.nicoleaniston.org    IN A   127.0.0.101

I get answer:

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;nicoleaniston.org.             IN      TXT

;; ANSWER SECTION:
nicoleaniston.org.      86400   IN      TXT     "101"

;; AUTHORITY SECTION:
.                       86400   IN      NS      dns1.

;; ADDITIONAL SECTION:
dns1.     86400   IN      A       127.0.0.85

If i uncomment domain with TTL:

$TTL            3600

@               IN SOA  dns1.        hostmaster. (
                        2016062911      ; Serial
                        28800           ; Refresh after 8 hour
                        7200            ; Retry after 2 hours
                        604800          ; Expire after 7 days
                        60 )            ; Minimum TTL of 1 day

@               IN NS   dns1.

category                        IN NS   dns1.

test-category                   IN A    127.0.0.127

test-dns-c. 60      IN A    127.0.0.253
test-dns-c. 60      IN TXT  "253"


nicoleaniston.org    IN A   127.0.0.101
*.nicoleaniston.org    IN A   127.0.0.101

I get answer:

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;nicoleaniston.org.             IN      TXT

;; ANSWER SECTION:
nicoleaniston.org.      60      IN      TXT     "101"

;; AUTHORITY SECTION:
.                       86400   IN      NS      dns1.

;; ADDITIONAL SECTION:
dnsc1.     60      IN      A       127.0.0.85


Best regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </archives/yadifa-users/attachments/20160629/ac30aae1/attachment.html>


More information about the yadifa-users mailing list