Mise en place des catalog

Mise en place des catalog#

Attention

Ici je vais choisir une info qui n’est pas vraie. Le nom de la zone catalog sera example.catalog.

Donc nous allons creer une zone de type catalog.

Deja nous allons creer un fichier qui contient la zone, fichier producer.zone.

$TTL 3600
$ORIGIN example.catalog.
@               IN      SOA     invalid. hostmaster.invalid. (
                        1     ; serial
                        1H    ; refresh
                        10M   ; retry
                        1W    ; expire
                        1800  ; negTTL
                        )

@               IN      NS      invalid.
pdnsutil zone load example.catalog producer.zone
pdnsutil zone set-kind example.catalog producer
pdnsutil catalog set as51144.net example.catalog

Pour verifier si ca fonctionne correctement, tu peux lancer :

dig @127.0.0.1 AXFR example.catalog

Le resultat donne ceci :

; <<>> DiG 9.18.33 <<>> @127.0.0.1 AXFR example.catalog
; (1 server found)
;; global options: +cmd
example.catalog.    3600    IN      SOA     invalid. hostmaster.invalid. 1789832269 3600 600 604800 1800
example.catalog.    3600    IN      NS      invalid.
version.example.catalog. 0  IN      TXT     "2"
vkc3qdum3kkgdtb901ul8f80m0okmcam.zones.example.catalog.     0 IN PTR as51144.net.
example.catalog.    3600    IN      SOA     invalid. hostmaster.invalid. 1789832269 3600 600 604800 1800
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (TCP)
;; WHEN: Sat Sep 19 15:41:31 UTC 2026
;; XFR size: 5 records (messages 3, bytes 347)

Attention

Vu qu’aucun NS n’est defini, il faut ajouter une metadata also-notify sur les secondaires.

Cette operation peut deja se faire depuis PowerAdmin.